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
This was omitted for consistency with the JavaScript version, which didn't add it because it was not that important for robustness but increased the bundle size notably (see mapbox/delaunator#68):
Adding robust incircle would increase it more significantly (to 5322 bytes), but it doesn't seem necessary since this check only affects which triangles flip, and doesn't affect the integrity of the triangulation unlike orient2d.
Now as for hypot, this is a deliberate optimization because Delaunator doesn't need exact distances, it only calculates squared ones which are much faster since they only need multiplication, without square root.
Thanks for your library. I saw that you use
robust
fororient2d
but I was wondering why you did not usePoint::in_circle
;I can make a PR if you agree to these changes.
The text was updated successfully, but these errors were encountered: