Subject: [ggl] [Buffer] How to?
From: Barend Gehrels (barend)
Date: 2011-06-21 01:57:56
On 20-6-2011 18:11, aimes00 wrote:
> Hi all,
> I'm trying to make a buffer from a linestring. I know that it is possible
> because there is a file called linestring_buffer, and it is supposed to do
> this, isn't it? The reason of my post is that I don't know how to make a
> call to the ggl library to get the correct result.
> My approach is the following:
> model::point<double, 2, cs::cartesian> point_2d;
> model::linestring<point_2d> input;
> model::polygon<point_2d> output;
> boost::geometry::buffer(input, output, distance, chordLenght);
> Isn't the buffer function ready to call the linestring_buffer one?
Sorry, to disappoint you: the linestring_buffer is not in the Release
branch. It is in an extension. And it worked most of the times, but not
perfectly, therefore I did postpone it and it is now not up-to-date
anymore with the rest of the sources (in other words, it does not
compile anymore). Will see when I can fix it.
So no, the buffer function is not ready to call it.
Geometry list run by mateusz at loskot.net