boost::geometry::model::box
box.hpp
typename Point Point
Point Point boost::geometry::model::box< Point >::m_max_corner m_max_corner
Point Point boost::geometry::model::box< Point >::m_min_corner m_min_corner
boost::geometry::model::box< Point >::BOOST_CONCEPT_ASSERT
((concept::Point< Point >))
BOOST_CONCEPT_ASSERT
(concept::Point< Point >)
boost::geometry::model::box< Point >::box
()
box

Default constructor, no initialization.

boost::geometry::model::box< Point >::box
(Point const &min_corner, Point const &max_corner)
box
Point const & min_corner
Point const & max_corner

Constructor taking the minimum corner point and the maximum corner point.

Point const & Point const& boost::geometry::model::box< Point >::max_corner () const max_corner
Point & Point& boost::geometry::model::box< Point >::max_corner () max_corner
Point const & Point const& boost::geometry::model::box< Point >::min_corner () const min_corner
Point & Point& boost::geometry::model::box< Point >::min_corner () min_corner

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.

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.

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.

[include reference/geometries/box.qbk] [heading Model of] [link geometry.reference.concepts.concept_box Box Concept]
- boost::geometry::model::box
  BOOST_CONCEPT_ASSERT
- boost::geometry::model::box
  box
- boost::geometry::model::box
  box
- boost::geometry::model::box
  m_max_corner
- boost::geometry::model::box
  m_min_corner
- boost::geometry::model::box
  max_corner
- boost::geometry::model::box
  max_corner
- boost::geometry::model::box
  min_corner
- boost::geometry::model::box
  min_corner