mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-12 12:12:10 +00:00
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
[/============================================================================
|
|
Boost.Geometry (aka GGL, Generic Geometry Library)
|
|
|
|
Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
|
|
Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
|
|
Copyright (c) 2009-2012 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)
|
|
=============================================================================/]
|
|
|
|
[section:rectangle_data Boost.Polygon's rectangle_data]
|
|
|
|
Boost.Polygon's rectangle type (boost::polygon::rectangle_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_box Box Concept]
|
|
|
|
[heading Header]
|
|
`#include <boost/geometry/geometries/adapted/boost_polygon.hpp>`
|
|
|
|
__not_in_boost_geometry_hpp__
|
|
|
|
[heading Example]
|
|
[boost_polygon]
|
|
[boost_polygon_output]
|
|
|
|
[endsect]
|
|
|