Class RobustDeterminantCalculator


  • public class RobustDeterminantCalculator
    extends java.lang.Object
    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
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int signOfDet​(double x0, double y0, double x1, double y1)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RobustDeterminantCalculator

        public RobustDeterminantCalculator()
    • Method Detail

      • signOfDet

        public static int signOfDet​(double x0,
                                    double y0,
                                    double x1,
                                    double y1)