geometry/doc/reference/geometries/adapted/boost_polygon/polygon_data.qbk

38 lines
1.3 KiB
Plaintext

[/============================================================================
Boost.Geometry (aka GGL, Generic Geometry Library)
Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands.
Copyright (c) 2008-2014 Bruno Lalande, Paris, France.
Copyright (c) 2009-2014 Mateusz Loskot, London, UK.
Copyright (c) 2011-2014 Adam Wulkiewicz, Lodz, Poland.
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)
=============================================================================/]
[section:polygon_data Boost.Polygon's polygon_data]
Boost.Polygon's polygon type (boost::polygon::polygon_data) is adapted to the Boost.Geometry Ring Concept.
[heading Description]
Boost.Polygon's points (as well as polygons) can be used by Boost.Geometry. The
two libraries can therefore be used together. Using a boost::polygon::polygon_data<...>,
algorithms from both Boost.Polygon and Boost.Geometry can be called.
[heading Model of]
[link geometry.reference.concepts.concept_ring Ring Concept]
[heading Header]
`#include <boost/geometry/geometries/adapted/boost_polygon.hpp>`
__not_in_boost_geometry_hpp__
[heading Example]
[boost_polygon_ring]
[boost_polygon_ring_output]
[endsect]