Template Function lanelet::geometry::intersects2d(const Lanelet1T&, const Lanelet2T&)
Defined in File Lanelet.h
Function Documentation
-
template<typename Lanelet1T, typename Lanelet2T>
IfLL<Lanelet1T, bool> lanelet::geometry::intersects2d(const Lanelet1T &lanelet, const Lanelet2T &otherLanelet) test whether two lanelets intersect in 2d.
This also returns true if the two lanelets only touch each other. Use overlaps if you do not want this.
See also
overlaps2d
- Parameters:
lanelet – lanelet to check for
otherLanelet – other lanelet to check for
- Returns:
true if lanelets have intersections.