Template Function lanelet::geometry::overlaps2d(const Lanelet1T&, const Lanelet2T&)

Function Documentation

template<typename Lanelet1T, typename Lanelet2T>
IfLL<Lanelet1T, bool> lanelet::geometry::overlaps2d(const Lanelet1T &lanelet, const Lanelet2T &otherLanelet)

test whether two lanelets overlap in 2d.

Returns true if the area shared by the two lanelets is >0.