Exact orientation sign of three represented binary64 chart points.
A conservative arithmetic filter accepts a determinant separated from its
rounding error. Ambiguous, underflowed or overflowed arithmetic is evaluated
as an integer determinant after the six binary64 inputs are placed on one
common dyadic grid. This decides the represented points, without a geometric
tolerance, coordinate rounding, snapping or new intersection construction.
Parameters
a: readonly[number,number]
First finite chart point.
b: readonly[number,number]
Second finite chart point.
c: readonly[number,number]
Third finite chart point.
Returns number
+1 for counterclockwise, -1 for clockwise and 0 for exact collinearity.
Exact orientation sign of three represented binary64 chart points.
A conservative arithmetic filter accepts a determinant separated from its rounding error. Ambiguous, underflowed or overflowed arithmetic is evaluated as an integer determinant after the six binary64 inputs are placed on one common dyadic grid. This decides the represented points, without a geometric tolerance, coordinate rounding, snapping or new intersection construction.