Function lanelet::routing::getEnclosingPolygon3d

Function Documentation

BasicPolygon3d lanelet::routing::getEnclosingPolygon3d(const LaneletOrAreaPath &path)

finds the Polygon containing all Lanelets and Areas in Path. All points on the polygon will be identical to points of primitives in path.

Parameters:

path – Path to merge

Returns:

Polygon containing all Lanelets and Areas in Path