• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[/============================================================================
2  Boost.Geometry (aka GGL, Generic Geometry Library)
3
4  Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
5  Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
6  Copyright (c) 2009-2012 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:std_array C++11 Array Container]
14
15C++11 array containers are adapted to the Boost.Geometry point concept
16
17[heading Description]
18
19A C++11 std::array is (optionally) adapted to the Boost.Geometry
20point concept. It can therefore be used in all Boost.Geometry algorithms.
21
22A std::array can be the point type used by the models linestring, polygon, segment,
23box, and ring.
24
25[heading Model of]
26[link geometry.reference.concepts.concept_point Point Concept]
27
28[heading Header]
29`#include <boost/geometry/geometries/adapted/std_array.hpp>`
30
31__not_in_boost_geometry_hpp__
32
33[heading Example]
34[std_array]
35[std_array_output]
36
37[endsect]
38
39