template<typename Point>
class boost::geometry::model::box< Point >
Class box: defines a box made of two describing points.
Box is always described by a min_corner() and a max_corner() point. If another rectangle is used, use linear_ring or polygon.
- Note
- Boxes are for selections and for calculating the envelope of geometries. Not all algorithms are implemented for box. Boxes are also used in Spatial Indexes.
- Template Parameters
-
Point | point type. The box takes a point type as template parameter. The point type can be any point type. It can be 2D but can also be 3D or more dimensional. The box can also take a latlong point type as template parameter. |