Expand description
§Geogram Predicates
A crate for rust interoperability with geogram
s robust predicates; via cxx
.
Functions§
- det_3d
- Computes the sign of the determinant of a 3x3 matrix formed by three 3D points.
- det_4d
- Computes the sign of the determinant of a 4x4 matrix formed by four 4D points.
- dot_3d
- Computes the sign of the dot product between two vectors.
- geo_sgn
- Gets the sign of a value.
- in_
circle_ 2d_ SOS - Tests whether a point is in the circum-circle of a triangle.
- in_
sphere_ 3d_ SOS - Tests whether a point is in the circum-sphere of a tetrahedron.
- initialize
- Needs to be called before using any predicate.
- orient_
2d - Computes the orientation predicate in 2d.
- orient_
2dlifted_ SOS - Computes the 3d orientation test with lifted points, i.e the regularity test for 2d.
- orient_
3d - Computes the orientation predicate in 3d.
- orient_
3d_ inexact - Computes the (approximate) orientation predicate in 3d.
- orient_
3dlifted_ SOS - Computes the 4d orientation test with lifted points, i.e the regularity test for 3d.
- points_
are_ colinear_ 3d - Tests whether three 3D points are colinear.
- points_
are_ identical_ 2d - Tests whether two 2d points are identical.
- points_
are_ identical_ 3d - Tests whether two 3d points are identical.
- show_
stats - Displays some statistics about predicates, including the number of calls, the number of exact arithmetics calls, and the number of Simulation of Simplicity calls.
- terminate
- Needs to be called at the end of the program.