geometry/doc/reference/geometries/adapted/std_array.qbk
Norbert Wenzel d4bc950146 [doc] Add C++11 std::array point adaptor docs
Copied the documentation entry and example from Boost.Array. Referred
to std::array as "C++11 array container".

Link to new page from
* reference
* quickref
* point concept
2018-01-27 10:52:17 +01:00

39 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:std_array C++11 Array Container]
C++11 array containers are adapted to the Boost.Geometry point concept
[heading Description]
A C++11 std::array is (optionally) adapted to the Boost.Geometry
point concept. It can therefore be used in all Boost.Geometry algorithms.
A std::array can be the point type used by the models linestring, polygon, segment,
box, and ring.
[heading Model of]
[link geometry.reference.concepts.concept_point Point Concept]
[heading Header]
`#include <boost/geometry/geometries/adapted/std_array.hpp>`
__not_in_boost_geometry_hpp__
[heading Example]
[std_array]
[std_array_output]
[endsect]