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

Functions

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)

Function Documentation

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
Examples:
07_a_graph_route_example.cpp, and 07_b_graph_route_example.cpp.

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