You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to cut polyline using two points. I use getNearestCoordinate to cast them on polyline. Then I'm creating two cutters:
Polyline cutter1 = new Polyline(castedFirstPoint, castedFirstPoint);
Polyline cutter2 = new Polyline(castedSecondPoint, castedSecondPoint);
The problem is that cut operator fails if cutter len is 0. It would be nice to make such case (polyline, point which lies on poly line) working since I'm not seeing any other way to get part of polyline from firstPoint to secondPoint. Or maybe I'm missing something.
The text was updated successfully, but these errors were encountered:
As far as I understand cut operator it will fail since cutter line will cross cutee more than two times (the cutee is zig-zag alike). Below is example what I'm trying to achieve.
I'm trying to cut polyline using two points. I use getNearestCoordinate to cast them on polyline. Then I'm creating two cutters:
The problem is that cut operator fails if cutter len is 0. It would be nice to make such case (polyline, point which lies on poly line) working since I'm not seeing any other way to get part of polyline from firstPoint to secondPoint. Or maybe I'm missing something.
The text was updated successfully, but these errors were encountered: