• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[/============================================================================
2  Boost.Geometry (aka GGL, Generic Geometry Library)
3
4  Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
5  Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
6  Copyright (c) 2009-2013 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
14[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
15[/ Generated from doxy/doxygen_output/xml/structboost_1_1geometry_1_1dimension.xml]
16[section:dimension dimension]
17
18'''<indexterm><primary>dimension</primary></indexterm>'''
19Metafunction defining [*value] as the number of coordinates (the number of axes of any geometry) of the point type making up the specified geometry type.
20
21[heading Synopsis]
22``template<typename Geometry>
23struct dimension
24      : public core_dispatch::dimension< tag< Geometry >::type, geometry::util::bare_type< Geometry >::type >
25{
26  // ...
27};
28``
29
30[heading Template parameter(s)]
31[table
32[[Parameter] [Description]]
33[[typename Geometry] [Any type fulfilling a Geometry Concept]]
34]
35
36[heading Header]
37Either
38
39`#include <boost/geometry.hpp>`
40
41
42Or
43
44`#include <boost/geometry/core/coordinate_dimension.hpp>`
45
46[include reference/core/coordinate_dimension.qbk]
47
48[endsect]
49
50