1 [/============================================================================
2 Boost.Geometry (aka GGL, Generic Geometry Library)
4 Copyright (c) 2009-2012 Barend Gehrels, Amsterdam, the Netherlands.
5 Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
6 Copyright (c) 2009-2012 Bruno Lalande, Paris, France.
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 [def __this_function__ num_points]
15 [heading_conformance_ogc __this_function__..NumPoints]
16 [note __this_function__ can be called for any geometry and not just linestrings
17 (as the standard describes)]
22 [[__point__][[qbk_ret 1]]]
23 [[__segment__][[qbk_ret 2]]]
24 [[__box__][[qbk_ret 4]]]
25 [[__range__][[qbk_ret boost::size(geometry)]]]
26 [[__other__][[qbk_ret the sum of the number of points of its elements]]]
27 [[Open geometries][[qbk_ret the sum of the number of points of its elements, it adds one for open (per ring) if specified]]]
28 [[Closed geometries][[qbk_ret the sum of the number of points of its elements]]]