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
Hi !
i had a question concerning the intersections,
if the clipper is the same size as the source polygon, why doesnt it return the on-line intersection ?
var src = [[0,0], [100,0], [100,100], [0,100]];
var clipper = [[0,0] , [100,0] , [100,100], [0,100]];
it returns null, could you comfirm the behaviour ? thx
The text was updated successfully, but these errors were encountered:
I confirm that, the only thing that can be done here is a trivial string equality check. Greiner-Hormann algorithm is not good at overlapping edges, it's a degenerate case. You can also try https://github.com/w8r/martinez algorithm
Hi !
i had a question concerning the intersections,
if the clipper is the same size as the source polygon, why doesnt it return the on-line intersection ?
var src = [[0,0], [100,0], [100,100], [0,100]];
var clipper = [[0,0] , [100,0] , [100,100], [0,100]];
it returns null, could you comfirm the behaviour ? thx
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Hi !
i had a question concerning the intersections,
if the clipper is the same size as the source polygon, why doesnt it return the on-line intersection ?
var src = [[0,0], [100,0], [100,100], [0,100]];
var clipper = [[0,0] , [100,0] , [100,100], [0,100]];
it returns null, could you comfirm the behaviour ? thx
The text was updated successfully, but these errors were encountered: