num_geometries

# number of geometries: calculate the number of geometries in a multi-geometry

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

Calculates the number of geometries of a geometry.

The free function num_geometries calculates the number of geometries of a geometry. Geometry

Any type fulfilling a Geometry Concept

geometry

A model of the specified concept

The calculated \1

[include reference/algorithms/num_geometries.qbk]