Barend Gehrels d601e255b3 Updated many docs, added many samples
[SVN r71422]
2011-04-22 22:26:38 +00:00

48 lines
1.6 KiB
Plaintext

[/============================================================================
Boost.Geometry (aka GGL, Generic Geometry Library)
Copyright (c) 2007-2011 Barend Gehrels, Amsterdam, the Netherlands.
Copyright (c) 2008-2011 Bruno Lalande, Paris, France.
Copyright (c) 2009-2011 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:boost_tuple Boost.Tuple]
Boost.Tuple tuples with arithmetic elements can be used as
points within Boost.Geometry
[heading Description]
Boost.Tuple fixed sized collections, such as boost::tuple<double, double>, are
(optionally) adapted to the Boost.Geometry point concept.
Boost.Tuple pairs or triples might have mutually different types, such as a
boost::tuple<float, double>. Boost.Geometry reports the first type as its
[link geometry.reference.core.coordinate_type coordinate_type].
Boost.Geometry supports Boost.Tuple pairs, triples, quadruples, etc up to
tuples with 10 elements (though most algorithms do not support so many
dimensions).
A tuple 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/boost_tuple.hpp>`
The standard header `<boost/geometry.hpp>` does not include this header.
[heading Example]
[boost_tuple]
[boost_tuple_output]
[endsect]