Home
last modified time | relevance | path

Searched refs:lineLength2D (Results 1 – 1 of 1) sorted by relevance

/dports/cad/sumo/sumo-1.2.0/src/utils/geom/
H A DGeomHelper.cpp93 const double lineLength2D = lineStart.distanceTo2D(lineEnd); in nearest_offset_on_line_to_point2D() local
94 if (lineLength2D == 0.0f) { in nearest_offset_on_line_to_point2D()
101 ) / (lineLength2D * lineLength2D); in nearest_offset_on_line_to_point2D()
109 return lineLength2D; in nearest_offset_on_line_to_point2D()
111 return u * lineLength2D; in nearest_offset_on_line_to_point2D()
122 const double lineLength2D = lineStart.distanceTo2D(lineEnd); in nearest_offset_on_line_to_point25D() local
124 result *= (lineLength / lineLength2D); in nearest_offset_on_line_to_point25D()