83 lines
2.4 KiB
Plaintext
83 lines
2.4 KiB
Plaintext
[/============================================================================
|
|
Boost.Geometry (aka GGL, Generic Geometry Library)
|
|
|
|
Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
|
|
Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
|
|
Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
|
|
|
|
Use, modification and distribution is subject to the Boost Software License,
|
|
Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
|
http://www.boost.org/LICENSE_1_0.txt)
|
|
=============================================================================/]
|
|
|
|
|
|
[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
|
|
[/ Generated from doxy/doxygen_output/xml/group__expand.xml]
|
|
[section:expand_3_with_strategy expand (with strategy)]
|
|
|
|
'''<indexterm><primary>expand</primary></indexterm>'''
|
|
Expands (with strategy)
|
|
|
|
[heading Synopsis]
|
|
``template<typename Box, typename Geometry, typename Strategy>
|
|
void expand(Box & box, Geometry const & geometry, Strategy const & strategy)``
|
|
|
|
[heading Parameters]
|
|
|
|
[table
|
|
[[Type] [Concept] [Name] [Description] ]
|
|
[[Box &] [type of the box ] [box] [box to be expanded using another geometry, mutable ]]
|
|
[[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept geometry which envelope (bounding box) ]]
|
|
[[Strategy const &] [Any type fulfilling a expand Strategy Concept ] [strategy] [The strategy which will be used for expand calculations will be added to the box]]
|
|
]
|
|
|
|
|
|
[heading Header]
|
|
Either
|
|
|
|
`#include <boost/geometry.hpp>`
|
|
|
|
|
|
Or
|
|
|
|
`#include <boost/geometry/algorithms/expand.hpp>`
|
|
|
|
[include reference/algorithms/expand.qbk]
|
|
|
|
|
|
[endsect]
|
|
|
|
[section:expand_2 expand]
|
|
|
|
'''<indexterm><primary>expand</primary></indexterm>'''
|
|
Expands a box using the bounding box (envelope) of another geometry (box, point)
|
|
|
|
[heading Synopsis]
|
|
``template<typename Box, typename Geometry>
|
|
void expand(Box & box, Geometry const & geometry)``
|
|
|
|
[heading Parameters]
|
|
|
|
[table
|
|
[[Type] [Concept] [Name] [Description] ]
|
|
[[Box &] [type of the box ] [box] [box to be expanded using another geometry, mutable ]]
|
|
[[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept geometry which envelope (bounding box) will be added to the box]]
|
|
]
|
|
|
|
|
|
[heading Header]
|
|
Either
|
|
|
|
`#include <boost/geometry.hpp>`
|
|
|
|
|
|
Or
|
|
|
|
`#include <boost/geometry/algorithms/expand.hpp>`
|
|
|
|
[include reference/algorithms/expand.qbk]
|
|
|
|
|
|
[endsect]
|
|
|