Boost.Geometry    Boost C++ Libraries
Functions
expand: add a geometry to a bounding box

Functions

template<typename Box , typename Geometry , typename Strategy >
void boost::geometry::expand (Box &box, Geometry const &geometry, Strategy const &strategy)
 Expands (with strategy) More...
 
template<typename Box , typename Geometry >
void boost::geometry::expand (Box &box, Geometry const &geometry)
 Expands a box using the bounding box (envelope) of another geometry (box, point) More...
 

Detailed Description

Function Documentation

template<typename Box , typename Geometry , typename Strategy >
void boost::geometry::expand ( Box &  box,
Geometry const &  geometry,
Strategy const &  strategy 
)

Expands (with strategy)

Template Parameters
Boxtype of the box
GeometryAny type fulfilling a Geometry Concept
StrategyAny type fulfilling a expand Strategy Concept
Parameters
boxbox to be expanded using another geometry, mutable
geometryA model of the specified concept geometry which envelope (bounding box)
strategyThe strategy which will be used for expand calculations will be added to the box
Examples:
07_a_graph_route_example.cpp, and 07_b_graph_route_example.cpp.
template<typename Box , typename Geometry >
void boost::geometry::expand ( Box &  box,
Geometry const &  geometry 
)

Expands a box using the bounding box (envelope) of another geometry (box, point)

Template Parameters
Boxtype of the box
GeometryAny type fulfilling a Geometry Concept
Parameters
boxbox to be expanded using another geometry, mutable
geometryA model of the specified concept geometry which envelope (bounding box) will be added to the box

April 2, 2011

Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands
Copyright © 2008-2011 Bruno Lalande, Paris, France
Copyright © 2009-2010 Mateusz Loskot, London, UK
Documentation is generated by Doxygen