Exact geometric predicates for Delaunay triangulation in dimensions 2 to 4: the sign of an orientation determinant and of an in-sphere determinant, each computed in floating point first and, when the result is too close to zero for the floating-point error bound, again in exact arithmetic (BigDecimal: a double is a binary fraction, so sums and products of doubles are exact there). In-sphere ties (a point exactly on a circumsphere) are broken by a symbolic perturbation of the lifted coordinate that depends only on the points' indices, so the result is the Delaunay triangulation of an infinitesimally perturbed point set: unique, whatever the insertion order.
Determinants are expanded over permutations, which is cheap up to 5x5 (in-sphere in 4-D) and grows as n! beyond.
How often the floating-point filter was not enough: orientations and in-sphere tests decided exactly, and in-sphere ties broken by the symbolic perturbation.
How often the floating-point filter was not enough: orientations and in-sphere tests decided exactly, and in-sphere ties broken by the symbolic perturbation.
Whether q lies inside the circumsphere of the positively oriented cell cell (indices into the points), with exact ties broken by the perturbation: never undecided for distinct points. 1 inside, -1 outside.
Whether q lies inside the circumsphere of the positively oriented cell cell (indices into the points), with exact ties broken by the perturbation: never undecided for distinct points. 1 inside, -1 outside.
The sign of the orientation of the simplex v(0), ..., v(dimension): the determinant of the rows p(v(i)) - p(v(0)), i >= 1. Zero exactly when the points are affinely dependent.
The sign of the orientation of the simplex v(0), ..., v(dimension): the determinant of the rows p(v(i)) - p(v(0)), i >= 1. Zero exactly when the points are affinely dependent.