
19 May
2008
19 May
'08
5:10 p.m.
This proposed API is the most concise and intuitive way I can think of to provide these algorithms to the library user.
Fernando wrote: Do you mean the operator syntax or the lazy evaluation? I don't care for the former, but I certainly do for the latter, and to a broader extent.
If you like lazy evaluation take a look at the lazy iterators I implemented for converting a range of geometry objects (such as polygons with holes) to a range of vertex data structures (vertex, half edge pairs) in iterator_geometry_to_set.h just checked into the sandbox under the gtl project. It is also a nice demonstration of how the geometry concept becomes useful as a template parameter for making algorithms generic. Thanks, Luke