Template Function lanelet::geometry::internal::checkForInversion
Defined in File LineString.h
Function Documentation
-
template<typename LineString2dT>
inline void lanelet::geometry::internal::checkForInversion(const LineString2dT &oldLS, const BasicLineString2d &offsetLS, const double distance, const double epsilon = 1.e-7) checkForInversion asserts that a shifted line string is not inverted relative to the original line string by checking the distance of those
- Parameters:
oldLS – the original line string
offsetLS – the shifted line string
distance – shifting distance (left is positive)
epsilon – maximum allowed difference between requested and actual minimum offset