Expand description
Geometry visitors — for_each_point and for_each_segment.
Mirror boost::geometry::for_each_point and
boost::geometry::for_each_segment from
boost/geometry/algorithms/for_each.hpp. Both pass each visited
element to a user closure by & (read-only). Boost also exposes
mutating variants; we ship the read-only forms — mutation is the
KC1 PointMut concern, not the visitor’s job.
Functions§
- for_
each_ point - Apply
fto every stored point ofg, recursively. - for_
each_ segment - Apply
fto every segment ofgas a(&start, &end)pair, recursively.