Template Function lanelet::geometry::overlaps2d(const AreaT&, const AreaT&)

Function Documentation

template<typename AreaT>
IfAr<AreaT, bool> lanelet::geometry::overlaps2d(const AreaT &area, const AreaT &otherArea)

test whether two areas overlap in 2d (common area < 0). This is an approximation that ignores the holes of the areas!