10 May 20:14
Proposed Geometry Library
From: Tom Brinkman <reportbase <at> gmail.com>
Subject: Proposed Geometry Library
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-05-10 18:15:13 GMT
Subject: Proposed Geometry Library
Newsgroups: gmane.comp.lib.boost.devel
Date: 2008-05-10 18:15:13 GMT
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)); _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
RSS Feed