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:c_array C array] 14 15C arrays are adapted to the Boost.Geometry point concept 16 17[heading Description] 18 19C arrays, such as double[2] or int[3], are (optionally) adapted to the Boost.Geometry 20point concept. They can therefore be used in many Boost.Geometry algorithms. 21 22Note that a C array cannot be the point type of a linestring or a polygon. The reason 23for 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 25the point type. 26 27[heading Model of] 28[link geometry.reference.concepts.concept_point Point Concept] 29 30[heading Header] 31`#include <boost/geometry/geometries/adapted/c_array.hpp>` 32 33__not_in_boost_geometry_hpp__ 34 35[heading Example] 36[c_array] 37[c_array_output] 38 39[endsect] 40 41