Skip to main content

Module num_points

Module num_points 

Source
Expand description

num_points(&g) — total point count, recursive on multi / polygon kinds.

Mirrors boost::geometry::num_points from boost/geometry/algorithms/num_points.hpp. Boost’s free function also takes an add_for_open flag (when true, an open ring counts an extra point for the implicit closing edge); v1 ships the plain count only — the flag has no v1 fixture that a value depends on, so it is omitted until an open-ring caller needs it.

Functions§

num_points
Total number of points in g.