Closed jamespwilliams closed 4 years ago
Calling .Invert on a polygon and then calling .ContainsPoint causes a panic (at least, when initiated using PolygonFromLoops with a list of loops containing a single RegularLoop, I haven't tested other ways of initiating polygons).
.Invert
.ContainsPoint
PolygonFromLoops
RegularLoop
https://play.golang.org/p/5rVu_MkN9vN
I imagine this could quite likely be the same bug as #69.
Calling
.Invert
on a polygon and then calling.ContainsPoint
causes a panic (at least, when initiated usingPolygonFromLoops
with a list of loops containing a singleRegularLoop
, I haven't tested other ways of initiating polygons).https://play.golang.org/p/5rVu_MkN9vN