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

Function Documentation

template<typename Lanelet1T, typename Lanelet2T>
IfLL<Lanelet1T, IfLL<Lanelet2T, bool>> lanelet::geometry::leftOf(const Lanelet1T &left, const Lanelet2T &right)

checks if a lanelet is direcly left of another by checking if they share the same boundary

Be aware that the orientation of the lanelets (see Lanelet::invert()) is important