89 lines
2.5 KiB
Plaintext
89 lines
2.5 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__transform.xml]
|
|
[section:transform_3_with_strategy transform (with strategy)]
|
|
|
|
'''<indexterm><primary>transform</primary></indexterm>'''
|
|
Transforms from one geometry to another geometry using the specified strategy.
|
|
|
|
[heading Synopsis]
|
|
``template<typename Geometry1, typename Geometry2, typename Strategy>
|
|
bool transform(Geometry1 const & geometry1, Geometry2 & geometry2, Strategy const & strategy)``
|
|
|
|
[heading Parameters]
|
|
|
|
[table
|
|
[[Type] [Concept] [Name] [Description] ]
|
|
[[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry1] [A model of the specified concept ]]
|
|
[[Geometry2 &] [Any type fulfilling a Geometry Concept ] [geometry2] [A model of the specified concept ]]
|
|
[[Strategy const &] [strategy ] [strategy] [The strategy to be used for transformation ]]
|
|
]
|
|
|
|
|
|
[heading Returns]
|
|
True if the transformation could be done
|
|
|
|
[heading Header]
|
|
Either
|
|
|
|
`#include <boost/geometry.hpp>`
|
|
|
|
|
|
Or
|
|
|
|
`#include <boost/geometry/algorithms/transform.hpp>`
|
|
|
|
[include reference/algorithms/transform_with_strategy.qbk]
|
|
|
|
|
|
[endsect]
|
|
|
|
[section:transform_2 transform]
|
|
|
|
'''<indexterm><primary>transform</primary></indexterm>'''
|
|
Transforms from one geometry to another geometry using a strategy.
|
|
|
|
[heading Synopsis]
|
|
``template<typename Geometry1, typename Geometry2>
|
|
bool transform(Geometry1 const & geometry1, Geometry2 & geometry2)``
|
|
|
|
[heading Parameters]
|
|
|
|
[table
|
|
[[Type] [Concept] [Name] [Description] ]
|
|
[[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry1] [A model of the specified concept ]]
|
|
[[Geometry2 &] [Any type fulfilling a Geometry Concept ] [geometry2] [A model of the specified concept ]]
|
|
]
|
|
|
|
|
|
[heading Returns]
|
|
True if the transformation could be done
|
|
|
|
[heading Header]
|
|
Either
|
|
|
|
`#include <boost/geometry.hpp>`
|
|
|
|
|
|
Or
|
|
|
|
`#include <boost/geometry/algorithms/transform.hpp>`
|
|
|
|
[include reference/algorithms/transform.qbk]
|
|
|
|
|
|
[endsect]
|
|
|