num_interior_rings

# number of interior rings: calculate the number of interior rings

typename Geometry
std::size_t std::size_t boost::geometry::num_interior_rings (Geometry const &geometry) num_interior_rings Geometry const & geometry

Calculates the number of interior rings of a geometry.

The free function num_interior_rings calculates the number of interior rings of a geometry. Geometry

Any type fulfilling a Geometry Concept

geometry

A model of the specified concept

The calculated \1

[include reference/algorithms/num_interior_rings.qbk]

Defined by OGC as "numInteriorRing". To be consistent with "numPoints" letter "s" is appended