Template Function lanelet::geometry::fromArcCoordinates

Function Documentation

template<typename LineString2dT>
BasicPoint2d lanelet::geometry::fromArcCoordinates(const LineString2dT &lineString, const ArcCoordinates &arcCoords)

create a point by moving laterally arcCoords.distance from the linestring point at arcCoords.length

Parameters:
  • lineString – line string of which an offset point is generated

  • arcCoords – the coordinates the resulting point has (arcLength.distance > 0 creates a point on the left)