Skip to main content

Module num_interior_rings

Module num_interior_rings 

Source
Expand description

num_interior_rings(&g) — Σ interior-ring counts.

Mirrors boost::geometry::num_interior_rings from boost/geometry/algorithms/num_interior_rings.hpp. Every kind that is not a polygon (or multi-polygon) returns 0 by convention; for polygons the count is the number of holes (interior_rings accessor); a multi-polygon sums over its members.

Functions§

num_interior_rings
Number of interior rings (holes) in g.