Class RobustDeterminant
java.lang.Object
org.jzy3d.maths.algorithms.convexhull.algorithms.RobustDeterminant
The original code carries the following copyright notice:
Author : Olivier Devillers Olivier.Devillers@sophia.inria.fr http:/www.inria.fr:/prisme/personnel/devillers/anglais/determinant.html
Copyright (c) 1995 by INRIA Prisme Project BP 93 06902 Sophia Antipolis Cedex, France. All rights reserved
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intsignOfDet2x2(double x1, double y1, double x2, double y2)
-
Constructor Details
-
RobustDeterminant
public RobustDeterminant()
-
-
Method Details
-
signOfDet2x2
public static int signOfDet2x2(double x1, double y1, double x2, double y2) returns -1 if the determinant is negative, returns 1 if the determinant is positive, retunrs 0 if the determinant is null.
-