fesoliveira014 / voronator-rs

Delaunay triangulation and Voronoi diagram generation. Ported from Mapbox's Delaunator and d3-voronoi
MIT License
53 stars 13 forks source link

If the starting point is invalid then edges_around_point causes overflow #9

Closed AlanRace closed 2 years ago

AlanRace commented 2 years ago

If the starting point is an invalid index when edges_around_point is called, then an overflow occurs. I am not sure why the point was marked as invalid, but this check at least allowed everything to run to completion.

fesoliveira014 commented 2 years ago

Thanks for the contribution, merged!