]>
Commit | Line | Data |
---|---|---|
1 | [/============================================================================ | |
2 | Boost.Geometry (aka GGL, Generic Geometry Library) | |
3 | ||
4 | Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. | |
5 | Copyright (c) 2008-2014 Bruno Lalande, Paris, France. | |
6 | Copyright (c) 2009-2014 Mateusz Loskot, London, UK. | |
7 | Copyright (c) 2011-2014 Adam Wulkiewicz, Lodz, Poland. | |
8 | ||
9 | Use, modification and distribution is subject to the Boost Software License, | |
10 | Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
11 | http://www.boost.org/LICENSE_1_0.txt) | |
12 | =============================================================================/] | |
13 | ||
14 | [section:point_data Boost.Polygon's point_data] | |
15 | ||
16 | The Boost.Polygon point type (boost::polygon::point_data) is adapted to the Boost.Geometry Point Concept. | |
17 | ||
18 | [heading Description] | |
19 | ||
20 | Boost.Polygon's points (as well as polygons) can be used by Boost.Geometry. The | |
21 | two libraries can therefore be used together. Using a boost::polygon::point_data<...>, | |
22 | algorithms from both Boost.Polygon and Boost.Geometry can be called. | |
23 | ||
24 | [heading Model of] | |
25 | [link geometry.reference.concepts.concept_point Point Concept] | |
26 | ||
27 | [heading Header] | |
28 | `#include <boost/geometry/geometries/adapted/boost_polygon.hpp>` | |
29 | ||
30 | __not_in_boost_geometry_hpp__ | |
31 | ||
32 | [heading Example] | |
33 | [boost_polygon_point] | |
34 | [boost_polygon_point_output] | |
35 | ||
36 | [endsect] | |
37 |