PageRenderTime 21ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/Src/Dependencies/Boost/libs/geometry/doc/reference/geometries/adapted/boost_polygon/polygon_data.qbk

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