The junction width also depends on the junction-radius parameter of the
respective node (default 1.5). It may be more profitable to compute the
desired values direction from the junction shape polygon (found in the
.net.xml file).

Regarding the minimum length of 0.1m, this could be reduced by changing the
value of POSITION_EPS in config.h (or windows_config.h) but should not be
set to 0 to avoid undefined behavior.

regards,
Jakob

2016-06-10 21:20 GMT+02:00 Yifeng Zeng <[email protected]>:

> Hello Jakob,
>
> I was trying to calculate the junction width (as blue lines shown in the
> picture), as well as a distance from center-line of each lane to the left
> side of the junction edge (as red lines shown in the picture).
>
>
> Another irrelevant question, I understand that we have a 0.1 meter gap
> between the lanes, is there a way that I can remove this gap or specify it
> to be 0 ?
>
>
> Thanks,
> Yifeng
>
>
> ------------------------------
> From: [email protected]
> Date: Thu, 9 Jun 2016 07:55:12 +0200
> Subject: Re: [sumo-devel] Find edge boundary points
> To: [email protected]
> CC: [email protected]
>
>
> Hello,
> currently you can get neither of the points A-F from netedit (besides by
> right-clicking on he canvas and chosing 'copy cursor position to the
> clipboard').
> The .net.xml only contains the shape of the center-line of each lane. You
> would have to shift this shape by the width of the lane to compute the
> outer boundary. (i.e. using NBEdge::getCWBoundaryLine)
> However, if you wish to compute whether vehicles are within lane
> boundaries there are other options available.
> Maybe you can elaborate on what you need these boundary points for.
> regards,
> Jakob
>
> 2016-06-09 0:03 GMT+02:00 Yifeng Zeng <[email protected]>:
>
> Hello All,
>
> I was wondering if I can get all the edge boundary points in the
> netedit.exe?As shown in the picture, for both one-way or two-way edge
> (1->2), can I get the boundary points A, B, C and D? It is even better if I
> can get points E and F for the two-way edge.
>
> I understand that I can get the point A and B in
> \src\netbuild\NBNodeShapeComputer::computeNodeShapeDefault() where Position
> p; the junction shape points are calculated (when the subject edge is *i
> (1->2)), but how about point C, D and E, F?
>
> Any information would be appreciated.
>
> Thank you and cheers.
>
> Zeng
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> _______________________________________________
> sumo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-devel
>
>
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
sumo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-devel

Reply via email to