38 lines
1.3 KiB
Plaintext
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:point_data Boost.Polygon's point_data]
|
|
|
|
The Boost.Polygon point type (boost::polygon::point_data) is adapted to the Boost.Geometry Point 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::point_data<...>,
|
|
algorithms from both Boost.Polygon and Boost.Geometry can be called.
|
|
|
|
[heading Model of]
|
|
[link geometry.reference.concepts.concept_point Point Concept]
|
|
|
|
[heading Header]
|
|
`#include <boost/geometry/geometries/adapted/boost_polygon.hpp>`
|
|
|
|
__not_in_boost_geometry_hpp__
|
|
|
|
[heading Example]
|
|
[boost_polygon_point]
|
|
[boost_polygon_point_output]
|
|
|
|
[endsect]
|
|
|