Clip a closed polyline to segment it #791
Unanswered
brunnerant
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
First, thanks a lot for this insane library, it is the best one by a far amount !!
I encountered something that I didn't manage to solve. I would like to clip a closed polyline - that is, its starting and ending vertices coincide - with some polygons, in order to segment it. It works just, fine, but the only problem, is that the segment where the starting and ending vertices lie is split in two segments after the clipping operation, which is not what I want. Here is the (pseudo) code for what I want to do:
Is there a procedure to simplify open paths that coincide on their ending vertices ? Or is there another way to work around this issue ?
Thanks for your help !
Beta Was this translation helpful? Give feedback.
All reactions