Skip to content
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

[BUG]: Degenerate weighted triangulation #183

Closed
DanielVandH opened this issue Sep 12, 2024 · 0 comments · Fixed by #184
Closed

[BUG]: Degenerate weighted triangulation #183

DanielVandH opened this issue Sep 12, 2024 · 0 comments · Fixed by #184

Comments

@DanielVandH
Copy link
Member

rng = StableRNG(5)
points = [(0.0, 0.0), (1.0, 0.0), (1.0, 1.0), (0.0, 1.0), (1/2, 1/2)]
weights = [0.0, 0.0, 0.0, 0.0, -0.5]
tri = triangulate(points; weights, rng)
DelaunayTriangulation.validate_triangulation(tri)
The triangle (5, 2, 4) is degenerately oriented.

Should be an easy fix

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 a pull request may close this issue.

1 participant