I have curve line that help me to create polygon like structures in my tool and my polylines are similar as autocad polylines.
Now i am looking into a way that help me to split the polyline.
Let say if the polyline is forming an square and i draw an another polyline and try to split the square into two triangles so how i can do that with three js.
the clipper library does not provide a method to clip a polygon using two points. it only does polygon <> polygon booleans. you will have to use the technique I described in the other post to achieve your result. I do this in my application extensively.