Function lanelet::geometry::internal::findNextPoint

Function Documentation

inline PointSearchResult lanelet::geometry::internal::findNextPoint(const SelfIntersections2d &curSegIntersections, const BasicSegment2d &seg, const double lastS, const size_t i)

findNextPoint find next point to walk on a line strings join operation

Parameters:
  • curSegIntersections – list of intersections on the current segment

  • seg – segment to evaluate

  • lastS – coordinate along the segment to start the search on

  • i – segment index

Returns:

coordinate of next point on the walk