Template Function lanelet::geometry::projectedPoint2d

Function Documentation

template<typename LineString2dT>
IfLS<LineString2dT, std::pair<BasicPoint2d, BasicPoint2d>> lanelet::geometry::projectedPoint2d(const LineString2dT &l1, const LineString2dT &l2)

Computes the projected points on the two linestrings for the shortest distance.

First element of the pair is located on l1, second on l2