Skip to content

fix barycentric extrapolation variant #1705

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

Fil
Copy link
Contributor

@Fil Fil commented Jun 19, 2023

No description provided.

Fil added 2 commits June 23, 2023 14:21
When points on the hull are collinear, the extrapolation fails in some regions. I've found a way to fix this by reprojecting the points (to make the hull slightly bulge out, which resolves the ties), but in the end it was too much code for a use case that is pretty bad anyway (the delaunay triangulation itself being unstable in that case). This seems to be quite enough.
@Fil Fil merged commit d72e632 into fil/fix-barycentric-extrapolation Jun 23, 2023
@Fil Fil deleted the fil/fix-barycentric-extrapolation-variant branch June 23, 2023 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants