[prev in list] [next in list] [prev in thread] [next in thread] 

List:       geos-commits
Subject:    [geos-commits] r2591 - in trunk/source: algorithm
From:       svn_geos () osgeo ! org
Date:       2009-06-16 15:46:11
Message-ID: 20090616154611.143DBE00C38 () lists ! osgeo ! org
[Download RAW message or body]

Author: strk
Date: 2009-06-16 11:46:10 -0400 (Tue, 16 Jun 2009)
New Revision: 2591

Modified:
   trunk/source/algorithm/RobustDeterminant.cpp
   trunk/source/headers/geos/algorithm/RobustDeterminant.h
Log:
Sync RobustDeterminant to revision 1.14


Modified: trunk/source/algorithm/RobustDeterminant.cpp
===================================================================
--- trunk/source/algorithm/RobustDeterminant.cpp	2009-06-16 15:43:14 UTC (rev 2590)
+++ trunk/source/algorithm/RobustDeterminant.cpp	2009-06-16 15:46:10 UTC (rev 2591)
@@ -15,7 +15,7 @@
  *
  **********************************************************************
  *
- * Last port: algorithm/RobustDeterminant.java 1.13 (JTS-1.7)
+ * Last port: algorithm/RobustDeterminant.java 1.14 (JTS-1.7)
  *
  **********************************************************************/
 

Modified: trunk/source/headers/geos/algorithm/RobustDeterminant.h
===================================================================
--- trunk/source/headers/geos/algorithm/RobustDeterminant.h	2009-06-16 15:43:14 UTC (rev 2590)
+++ trunk/source/headers/geos/algorithm/RobustDeterminant.h	2009-06-16 15:46:10 UTC (rev 2591)
@@ -14,7 +14,7 @@
  *
  **********************************************************************
  *
- * Last port: algorithm/RobustDeterminant.java 1.13 (JTS-1.7)
+ * Last port: algorithm/RobustDeterminant.java 1.14 (JTS-1.7)
  *
  **********************************************************************/
 
@@ -51,6 +51,15 @@
  */
 class GEOS_DLL RobustDeterminant {
 public:
+
+	/** \brief
+	 * Computes the sign of the determinant of the 2x2 matrix
+	 * with the given entries, in a robust way.
+	 *
+	 * @return -1 if the determinant is negative,
+	 * @return  1 if the determinant is positive,
+	 * @return  0 if the determinant is 0.
+	 */
 	static int signOfDet2x2(double x1,double y1,double x2,double y2);
 };
 

_______________________________________________
geos-commits mailing list
geos-commits@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geos-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic