Class RobustDeterminantCalculator
java.lang.Object
net.anwiba.spatial.coordinate.calculator.RobustDeterminantCalculator
Implements an algorithm to compute the sign of a 2x2 determinant for double precision values robustly. It is a
reimplemetation of code developed by Olivier Devillers.
Source: http://www-sop.inria.fr/prisme/logiciel/determinant.html Author : Olivier Devillers
Olivier.Devillers@sophia.inria.fr
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intsignOfDet(double x0, double y0, double x1, double y1)
-
Constructor Details
-
RobustDeterminantCalculator
public RobustDeterminantCalculator()
-
-
Method Details
-
signOfDet
public static int signOfDet(double x0, double y0, double x1, double y1)
-