geometry/doc/reference/algorithms/num_interior_rings.qbk

34 lines
1.0 KiB
Plaintext

[/============================================================================
Boost.Geometry (aka GGL, Generic Geometry Library)
Copyright (c) 2009-2012 Barend Gehrels, Amsterdam, the Netherlands.
Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
Copyright (c) 2009-2012 Bruno Lalande, Paris, France.
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)
=============================================================================/]
[def __this_function__ num_interior_ring]
[heading_conformance_ogc __this_function__..NumInteriorRing]
[note __boost_geometry__ adds an "s"]
[heading Behavior]
[table
[[Case] [Behavior] ]
[[__polygon__][[qbk_ret the number of its interior rings]]]
[[__multi_polygon__][[qbk_ret the number of the interior rings of all polygons]]]
[[__other__][[qbk_ret 0]]]
]
[heading Complexity]
Constant
[heading Examples]
[num_interior_rings]
[num_interior_rings_output]