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:rectangle_data Boost.Polygon's rectangle_data] 15 16Boost.Polygon's rectangle type (boost::polygon::rectangle_data) is adapted to the Boost.Geometry Point Concept. 17 18[heading Description] 19 20Boost.Polygon's points (as well as polygons) can be used by Boost.Geometry. The 21two libraries can therefore be used together. Using a boost::polygon::rectangle_data<...>, 22algorithms from both Boost.Polygon and Boost.Geometry can be called. 23 24[heading Model of] 25[link geometry.reference.concepts.concept_box Box 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_box] 34[boost_polygon_box_output] 35 36[endsect] 37 38