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'd recommend checking out my sweepline-intersections library, it detects the intersection. The sweepline-intersections library has a slightly different API and returns all the intersections points, rather than just a boolean when the first self-intersection is discovered.
I'd need to look more closely as to why this case is failing in this lib, but passing in the other, because they use a fair bit of the same logic for the actual segment-to-segment intersection check. I suspect it's because the queueing logic is more complex in this library and it's not running a check on those overlapping segments.
The algorithm did not detect intersections in the following coordinates of a polygon.
It is a geoJSON coordinate list, the screenshot from geoJSON.io (Maybe the intersection only happens in spherical surfaces)
The text was updated successfully, but these errors were encountered: