Hello,
I was reviewing the code in svn https://svn.code.sf.net/p/sumo/code/trunk/sumo 
revision 20851, and wasn't able to find the function closestDistancePointLine2D
I have a note on Feb 2016 indicating in the GeomHelper.h file there was a 
function described as follows:/**

     * Return the distance from point to line
as well as the intersection point.

     * If intersection does not lie within the
line segment, the  start or end point of
the segment is returned

     */

    static SUMOReal closestDistancePointLine2D(const Position& point,

            const Position& lineStart, const Position& lineEnd,

            Position&
outIntersection);
Could anyone please tell me where this function is now or if there is any 
similar function to calculate the distance between a point and a line?
Thanks,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

Reply via email to