Template Function lanelet::geometry::internal::shiftConvexSharp
Defined in File LineString.h
Function Documentation
-
template<typename LineString2dT>
inline BasicLineString2d lanelet::geometry::internal::shiftConvexSharp(const LineString2dT &lineString, const size_t idx, const double distance, const PointVincinity &pv) shiftConvexSharp shift corner that is convex at a more than 90 degree angle. Inserts a new point to limit maximum offset
- Parameters:
lineString – original line string
idx – index of point to shft
distance – offset distance (left is positive) to shift
pv – following and preveding point on line string
- Returns:
shifted points