Template Function lanelet::geometry::boundingBox2d(const LaneletT&)

Function Documentation

template<typename LaneletT>
IfLL<LaneletT, BoundingBox2d> lanelet::geometry::boundingBox2d(const LaneletT &lanelet)

calculates an up-right 2d bounding box

Linear on number of points.

Parameters:

lanelet – lanelet to calculate it from

Returns:

the bounding box.