Skip to main content

geometry_from_points

Function geometry_from_points 

Source
pub fn geometry_from_points(points: &[TaggedPoint]) -> RouteGeometry
Expand description

Solve the router’s point list into edge geometry: axis-aligned edges merged while collinear within one segment (two edges from different waypoint legs never merge, even collinear), endpoints from the first and last point.