Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::concept::Box< Geometry > Class Template Reference

Box concept. More...

#include <box_concept.hpp>

Public Member Functions

 BOOST_CONCEPT_USAGE (Box)
 

Detailed Description

template<typename Geometry>
class boost::geometry::concept::Box< Geometry >

Box concept.

Formal definition:
The box concept is defined as following:
  • there must be a specialization of traits::tag defining box_tag as type
  • there must be a specialization of traits::point_type to define the underlying point type (even if it does not consist of points, it should define this type, to indicate the points it can work with)
  • there must be a specialization of traits::indexed_access, per index (min_corner, max_corner) and per dimension, with two functions:
    • get to get a coordinate value
    • set to set a coordinate value (this one is not checked for ConstBox)

Member Function Documentation

template<typename Geometry >
boost::geometry::concept::Box< Geometry >::BOOST_CONCEPT_USAGE ( Box< Geometry >  )
inline

References boost::n.


The documentation for this class was generated from the following file: