Boost.Geometry: please help; using buffer() extensions

Something of a repost, but I've learned a bit more on the path to being truly confused. It appears that boost\geometry\extensions\algorithms\buffer\buffer_inserter.hpp contains some specializations for buffering other shape types? But I'm out of my depth here... is there an example? What do I need to do in order to buffer: a point? A linestring? A vector of polygons? A heterogeneous collections of shapes? Is this generalization of buffer also going to work as a "deflate" for polygons? If someone can tell me "include these headers, use these algorithms", it will help a lot! Thanks John

On 25 February 2013 02:40, John Lilley
Something of a repost, but I’ve learned a bit more on the path to being truly confused. It appears that boost\geometry\extensions\algorithms\buffer\buffer_inserter.hpp contains some specializations for buffering other shape types? But I’m out of my depth here… is there an example?
Sorry for brief response, though might help There is no example yet, but there are tests for the buffer extension. If you look from the Boost root directory down this path: libs/geometry/test_extensions/algorithms/buffer They should be usable as examples too. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net
participants (2)
-
John Lilley
-
Mateusz Loskot