|
template<typename Geometry , typename Box , typename Strategy > |
void | boost::geometry::envelope (Geometry const &geometry, Box &mbr, Strategy const &strategy) |
| Calculates the envelope (with strategy) of a geometry. More...
|
|
template<typename Geometry , typename Box > |
void | boost::geometry::envelope (Geometry const &geometry, Box &mbr) |
| Calculates the envelope of a geometry. More...
|
|
template<typename Box , typename Geometry , typename Strategy > |
Box | boost::geometry::return_envelope (Geometry const &geometry, Strategy const &strategy) |
| Calculates the envelope of a geometry. More...
|
|
template<typename Box , typename Geometry > |
Box | boost::geometry::return_envelope (Geometry const &geometry) |
| Calculates the envelope of a geometry. More...
|
|
template<typename Geometry , typename Box , typename Strategy >
void boost::geometry::envelope |
( |
Geometry const & |
geometry, |
|
|
Box & |
mbr, |
|
|
Strategy const & |
strategy |
|
) |
| |
Calculates the envelope (with strategy) of a geometry.
The free function envelope calculates the envelope (also known as axis aligned bounding box, aabb, or minimum bounding rectangle, mbr) of a geometry.
- Template Parameters
-
Geometry | Any type fulfilling a Geometry Concept |
Box | Any type fulfilling a Box Concept |
Strategy | Any type fulfilling a Envelope Strategy Concept |
- Parameters
-
geometry | A model of the specified concept |
mbr | A model of the specified Box Concept which is set to the envelope |
strategy | The strategy which will be used for envelope calculations |
- Examples:
- 02_linestring_example.cpp, and 03_polygon_example.cpp.
template<typename Geometry , typename Box >
void boost::geometry::envelope |
( |
Geometry const & |
geometry, |
|
|
Box & |
mbr |
|
) |
| |
Calculates the envelope of a geometry.
The free function envelope calculates the envelope (also known as axis aligned bounding box, aabb, or minimum bounding rectangle, mbr) of a geometry.
- Template Parameters
-
Geometry | Any type fulfilling a Geometry Concept |
Box | Any type fulfilling a Box Concept |
- Parameters
-
geometry | A model of the specified concept |
mbr | A model of the specified Box Concept which is set to the envelope |
template<typename Box , typename Geometry , typename Strategy >
Box boost::geometry::return_envelope |
( |
Geometry const & |
geometry, |
|
|
Strategy const & |
strategy |
|
) |
| |
Calculates the envelope of a geometry.
The free function return_envelope calculates the envelope (also known as axis aligned bounding box, aabb, or minimum bounding rectangle, mbr) of a geometry. This version with the return_ prefix returns the envelope, and a template parameter must therefore be specified in the call.
- Template Parameters
-
Box | Any type fulfilling a Box Concept |
Geometry | Any type fulfilling a Geometry Concept |
Strategy | Any type fulfilling a Envelope Strategy Concept |
- Parameters
-
geometry | A model of the specified concept |
strategy | The strategy which will be used for envelope calculations |
- Returns
- The calculated envelope
template<typename Box , typename Geometry >
Box boost::geometry::return_envelope |
( |
Geometry const & |
geometry | ) |
|
Calculates the envelope of a geometry.
The free function return_envelope calculates the envelope (also known as axis aligned bounding box, aabb, or minimum bounding rectangle, mbr) of a geometry. This version with the return_ prefix returns the envelope, and a template parameter must therefore be specified in the call.
- Template Parameters
-
Box | Any type fulfilling a Box Concept |
Geometry | Any type fulfilling a Geometry Concept |
- Parameters
-
geometry | A model of the specified concept |
- Returns
- The calculated envelope