Subject: Re: [geometry] self intersection
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2016-05-11 06:23:33
Sergei Benkovich wrote:
> i'm trying to find self intersections in a polygon.
> and i need the info of, what segments intersected and etc.
> but i didn't find any examples of how to use turn_info to get this data.
> can anyone support?
I saw in other email that you already figured it out.
For anyone interested what needs to be done is running this code:
and checking the content of turns container.
But have in mind that since this functionality is not documented the
interface could probably change in the future, unlikely though.
Geometry list run by mateusz at loskot.net