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

Function Documentation

template<typename Lanelet1T, typename Lanelet2T>
IfLL<Lanelet1T, bool> lanelet::geometry::overlaps3d(const Lanelet1T &lanelet, const Lanelet2T &otherLanelet, double heightTolerance = 3)

test whether two lanelets overlap in 3d.

Todo:

this is currently only an approximation based on the centerlines

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