This function cuts a given self-intersecting polygon into non-self-intersecting
sub polygons.
The algorithm only works for non-self-overlapping polygons:
Please note that the union set of the sub polygons themselves will not be disjunct if
the input polyon overlaps with itself!
See this illustration for details:
./demos/27-polygon-intersection-greinerhormann/splitting-polygon-types.png
This function cuts a given self-intersecting polygon into non-self-intersecting sub polygons.
The algorithm only works for non-self-overlapping polygons: Please note that the union set of the sub polygons themselves will not be disjunct if the input polyon overlaps with itself!
See this illustration for details: ./demos/27-polygon-intersection-greinerhormann/splitting-polygon-types.png