1 [/============================================================================
2 Boost.Geometry (aka GGL, Generic Geometry Library)
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.
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 =============================================================================/]
13 [section:c_array C array]
15 C arrays are adapted to the Boost.Geometry point concept
19 C arrays, such as double[2] or int[3], are (optionally) adapted to the Boost.Geometry
20 point concept. They can therefore be used in many Boost.Geometry algorithms.
22 Note that a C array cannot be the point type of a linestring or a polygon. The reason
23 for that is that a std::vector does not allow containing C arrays
24 (this is not related to Boost.Geometry). The C array is therefore limited to
28 [link geometry.reference.concepts.concept_point Point Concept]
31 `#include <boost/geometry/geometries/adapted/c_array.hpp>`
33 __not_in_boost_geometry_hpp__