Template Function lanelet::geometry::distanceToBorder3d

Function Documentation

template<typename Polygon3dT>
IfPoly<Polygon3dT, double> lanelet::geometry::distanceToBorder3d(const Polygon3dT &poly1, const Polygon3dT &poly2)

computes the distance of the outer bounds of two polygons in 3d.

There is no such implementation in boost::geometry, so we implemented our own solution using an RTree for more efficient computation.