Template Function lanelet::geometry::internal::shiftLateral

Function Documentation

template<typename LineString2dT>
BasicPoint2d lanelet::geometry::internal::shiftLateral(const LineString2dT &lineString, const size_t idx, const double offset, const PointVincinity &pv)

shiftLateral shift point along the bisectrix

Parameters:
  • lineString – original line string

  • idx – index of point to shft

  • offset – offset distance (left is positive) to shift

  • pv – following and preveding point on line string

Returns:

shifted point