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
This is a feature request for adding new functionality to multilines. I'd like to be able to "trim" a multi-line down to only segments that exist inside of a polygon. Much like how a "difference" boolean operation between polygons work, but I would like to use a line instead of a polygon.
Hopefully this poorly drawn graphic helps visualize the ask.
Hello,
This is a feature request for adding new functionality to multilines. I'd like to be able to "trim" a multi-line down to only segments that exist inside of a polygon. Much like how a "difference" boolean operation between polygons work, but I would like to use a line instead of a polygon.
Hopefully this poorly drawn graphic helps visualize the ask.
There's not any existing library in JS that does this, and my SO question hasnt received a ton of action: https://stackoverflow.com/questions/68382197/clip-a-line-by-a-polygon-in-javascript
For single segments I can write my own version of this algorithm, but introducing multilines is a complexity that I can't seem to conquer.
The text was updated successfully, but these errors were encountered: