Subject: Re: [geometry] one more variation to "transform"/"convert"/"for_each_point"
From: Bruno Lalande (bruno.lalande_at_[hidden])
Date: 2012-02-16 04:44:23
Actually I was wondering if we shouldn't rather just provide a
"geometry_point_iterator" and a "geometry_segment_iterator" (implemented
for the geometries for which it makes sense). for_each_point is nothing
more than a std::for_each with a different iteration, and the
transform_points requested here is also just a std::transform with
auto points boost::geometry::point_range(p); // this returns a pair of
geometry_point_iterator or something along those lines
std::transform(p, transformation, output);
// and any other std algorithm....
Geometry list run by mateusz at loskot.net