Crate geogram_predicates
source ·Expand description
§Geogram Predicates
A crate for rust interoperability with geogram
s robust predicates; via cxx
.
Functions§
- Computes the sign of the determinant of a 3x3 matrix formed by three 3D points.
- Computes the sign of the determinant of a 4x4 matrix formed by four 4D points.
- Gets the sign of a value.
- Tests whether a point is in the circum-circle of a triangle.
- Tests whether a point is in the circum-sphere of a tetrahedron.
- Needs to be called before using any predicate.
- Computes the orientation predicate in 2d.
- Computes the 3d orientation test with lifted points, i.e the regularity test for 2d.
- Computes the orientation predicate in 3d.
- Computes the 4d orientation test with lifted points, i.e the regularity test for 3d.
- Tests whether two 2d points are identical.
- Tests whether two 3d points are identical.
- Displays some statistics about predicates, including the number of calls, the number of exact arithmetics calls, and the number of Simulation of Simplicity calls.
- Needs to be called at the end of the program.