Boost logo

Geometry :

Subject: Re: [geometry] Finding a boost::equal simplified polygon - remove_spikes added to trunk
From: Barend Gehrels (barend_at_[hidden])
Date: 2013-10-26 09:28:33


Hi,

Claus Christmann wrote On 23-10-2013 17:37:
> Hi Barend
>
> On Wednesday, October 23, 2013 17:16:34 Barend Gehrels wrote:
> [...]
>> There is a "remove_spikes" in the extensions which did not always work.
>> By chance I recently created a new version, intended for the main trunk
>> (so not an extension). But it still has to be committed, I will do that
>> this week.
> Wow, that is what I call "luck" :) Looking forward to the commit.
>

The remove_spike algorithm is committed (in Trunk, commits 86450 .. 86452)

There are not yet docs, but it is quite straightforward, calling
boost::geometry::remove_spikes(polygon) will change polygon and remove
the spikes. Unit tests are available.

Regards, Barend


Geometry list run by mateusz at loskot.net