Hi Sergey,




I meant intersection of ring border and segment. For example.
ring: (0, 0), (2, 0), (2, 2), (0, 2)
segment: (-1, 1), (3, 1)
output two points: (0,1) and (2,1)

This currently is only possible if you use the detail: interface (subject to change), using a linestring and a polygon or ring.

Like that, it is almost literally described in one of the examples: 05_b_overlay_linestring_polygon_example.cpp , in the release. They are called "turns" and the function is "get_turns" because they contain, besides intersection information, also turn information. But the intersection points are there.

In the end the generic intersection function will also be able to output points (actually that is quite easy but still has to be done).

Regards, Barend