Subject: [ggl] for each
From: Mateusz Loskot (mateusz)
Date: 2011-09-30 13:15:04
On 30/09/11 03:31, zzsj wrote:
> hi, list:
> Sometimes I want the iteration to immediately stop, while some condition
> are fulfilled.
> In general case, this should be the job of std::find_if. So, would ggl
> add some find_point/segment_if stuff?
It's a very nice idea indeed.
Can you post example of use case you have in mind?
Actual/pseudo-code would do.
-- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org
Geometry list run by mateusz at loskot.net