Boost logo

Geometry :

Subject: Re: [geometry] Minimize Points on polygon
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2013-09-13 16:52:58


Hi,

Hunk wrote:
> Hello,
>
> lets say i have a polygon like
>
> 0 0
> 5 0
> 10 0
> 5 5
>
> it is possible that i get the polygon
> 0 0
> 10 0
> 5 5
>
> for point reduction? Is this possible and integrated in boost::geometry?

Maybe use simplify() with some small distance?

http://www.boost.org/doc/libs/1_54_0/libs/geometry/doc/html/geometry/reference/algorithms/simplify/simplify_3.html

Regards,
Adam


Geometry list run by mateusz at loskot.net