num_segments

# number of segments: calculate number of segments of a geometry

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

Calculates the number of segments of a geometry.

The free function num_segments calculates the number of segments of a geometry. Geometry

Any type fulfilling a Geometry Concept

geometry

A model of the specified concept

The calculated \1

[include reference/algorithms/num_segments.qbk]