AnsweredAssumed Answered

IsSelfIntersecting property not working

Question asked by jsamek on Jun 26, 2020

I am using the SketchViewModel to draw a graphic. When I draw the polygon as self intersecting, most of the time, the isSelfIntersecting property on the geometry comes back as false. Sometimes, but infrequently, the same shape comes back as true. Is this a bug? Any other way to determine self intersection?


Also, I am not sure why there are two arrays for the rings array. Any thoughts on this?


This is using the Esri JavaScript API 4.11