Subject: Re: [boost] [GGL] Is this a bug, or undocumented behavior?
From: Jonathan Franklin (franklin.jonathan_at_[hidden])
Date: 2009-11-22 19:16:28
On Sun, Nov 22, 2009 at 5:04 PM, Barend Gehrels <barend_at_[hidden]> wrote:
> The intention is to return a minimal set.
Yes, the documentation indicates a set, which implies unique elements
(except, I guess, for the first/last point, as per the GGL "way").
> Instead of simplify you can also call std::unique (as in one of the samples)
> on the rings of the output polygons, this will help (but I agree,
> inconvenient now).
Yes, it is easy enough to work around, once you know that it may be necessary.