Template Function lanelet::geometry::approximatedLength2d

Function Documentation

template<typename LaneletT>
double lanelet::geometry::approximatedLength2d(const LaneletT &lanelet)

approximates length by sampling points along left bound

avoids to calculate the centerline which might be expensive.