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

Function Documentation

template<typename AreaT>
IfAr<AreaT, BoundingBox2d> lanelet::geometry::boundingBox2d(const AreaT &area)

calculates an up-right 2d bounding box

Linear on number of points.

Parameters:

area – area to calculate it from

Returns:

the bounding box.