
10 May
2008
10 May
'08
6:15 p.m.
I've been looking at the proposed boost geometry library at: http://geometrylibrary.geodan.nl/geometry.html Two issues so far: 1) geometry::linestring seems unecessary, it just wraps vector, deque, list. Why? If every library wrapped the standard containers in this way, we'd have an explosion of these wrappers. The library should just use vector, deque, etc. directly. 2) The library should support std::back_inserter. Functions, such as geometry::simplify should work like this: std::vector<geometry::point_xy<int> > points; boost::geometry::simplify(oldpoints, std::back_inserter(points));