PageRenderTime 20ms CodeModel.GetById 13ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/libs/geometry/doc/reference/algorithms/num_points.qbk

http://hadesmem.googlecode.com/
text | 32 lines | 25 code | 7 blank | 0 comment | 0 complexity | bfe13d166d63da8aaeae77dc1457107f MD5 | raw file
 1[/============================================================================
 2  Boost.Geometry (aka GGL, Generic Geometry Library)
 3
 4  Copyright (c) 2009-2011 Barend Gehrels, Amsterdam, the Netherlands.
 5  Copyright (c) 2009-2011 Mateusz Loskot, London, UK.
 6  Copyright (c) 2009-2011 Bruno Lalande, Paris, France.
 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[heading Behavior]
14[table
15[[Case] [Behavior] ]
16[[__point__][[qbk_ret 1]]]
17[[__segment__][[qbk_ret 2]]]
18[[__box__][[qbk_ret 4]]]
19[[__range__][[qbk_ret boost::size(geometry)]]]
20[[__other__][[qbk_ret the sum of the number of points of its elements]]]
21[[Open geometries][[qbk_ret the sum of the number of points of its elements, it adds one for open (per ring) if specified]]]
22[[Closed geometries][[qbk_ret the sum of the number of points of its elements]]]
23]
24
25
26[heading Complexity]
27Constant or Linear
28
29[heading Examples]
30[num_points]
31[num_points_output]
32