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

Robust predicates for orientation #5

Open
Huite opened this issue Mar 19, 2023 · 0 comments
Open

Robust predicates for orientation #5

Huite opened this issue Mar 19, 2023 · 0 comments

Comments

@Huite
Copy link
Collaborator

Huite commented Mar 19, 2023

Some of the algorithms use a determinant to get point-vector orientations. With points near vectors, roundoff creates errors. Shewchuk's robust predicates should solve this. Ideally, we can include them as (numba-accelerated) Python code.

Python bindings to the original C code (C code included):
https://pypi.org/project/geompreds/

Reimplementations:
C++ (templated): https://github.com/dengwirda/robust-predicate
Javascript: https://github.com/mourner/robust-predicates
Julia: https://github.com/JuliaGeometry/AdaptivePredicates.jl

I don't believe the Python implementation is vectorized, so it would require a little Cython to get decent performance benchmarks. But it would be immediately useful for testing.

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

No branches or pull requests

1 participant