[geos-commits] r2590 - in trunk/source: algorithm
headers/geos/algorithm
svn_geos at osgeo.org
svn_geos at osgeo.org
Tue Jun 16 11:43:16 EDT 2009
Author: strk
Date: 2009-06-16 11:43:14 -0400 (Tue, 16 Jun 2009)
New Revision: 2590
Modified:
trunk/source/algorithm/RobustDeterminant.cpp
trunk/source/headers/geos/algorithm/RobustDeterminant.h
Log:
Port info for RobustDeterminant
Modified: trunk/source/algorithm/RobustDeterminant.cpp
===================================================================
--- trunk/source/algorithm/RobustDeterminant.cpp 2009-06-16 15:33:47 UTC (rev 2589)
+++ trunk/source/algorithm/RobustDeterminant.cpp 2009-06-16 15:43:14 UTC (rev 2590)
@@ -15,23 +15,9 @@
*
**********************************************************************
*
- * RobustDeterminant implements an algorithm to compute the
- * sign of a 2x2 determinant for double precision values robustly.
- * It is a direct translation of code developed by Olivier Devillers.
- *
- *************************************************************************
- * The original code carries the following copyright notice:
- * Author : Olivier Devillers
- * Olivier.Devillers at sophia.inria.fr
- * http:/www.inria.fr:/prisme/personnel/devillers/anglais/determinant.html
- **************************************************************************
+ * Last port: algorithm/RobustDeterminant.java 1.13 (JTS-1.7)
*
- **************************************************************************
- * Copyright (c) 1995 by INRIA Prisme Project
- * BP 93 06902 Sophia Antipolis Cedex, France.
- * All rights reserved
- **************************************************************************
- */
+ **********************************************************************/
#include <geos/algorithm/RobustDeterminant.h>
Modified: trunk/source/headers/geos/algorithm/RobustDeterminant.h
===================================================================
--- trunk/source/headers/geos/algorithm/RobustDeterminant.h 2009-06-16 15:33:47 UTC (rev 2589)
+++ trunk/source/headers/geos/algorithm/RobustDeterminant.h 2009-06-16 15:43:14 UTC (rev 2590)
@@ -12,6 +12,10 @@
* by the Free Software Foundation.
* See the COPYING file for more information.
*
+ **********************************************************************
+ *
+ * Last port: algorithm/RobustDeterminant.java 1.13 (JTS-1.7)
+ *
**********************************************************************/
#ifndef GEOS_ALGORITHM_ROBUSTDETERMINANT_H
@@ -22,6 +26,29 @@
namespace geos {
namespace algorithm { // geos::algorithm
+/** \brief
+ * Implements an algorithm to compute the
+ * sign of a 2x2 determinant for double precision values robustly.
+ *
+ * It is a direct translation of code developed by Olivier Devillers.
+ *
+ * The original code carries the following copyright notice:
+ *
+ * <pre>
+ *************************************************************************
+ * The original code carries the following copyright notice:
+ * Author : Olivier Devillers
+ * Olivier.Devillers at 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
+ **********************************************************************
+ * </pre>
+ *
+ */
class GEOS_DLL RobustDeterminant {
public:
static int signOfDet2x2(double x1,double y1,double x2,double y2);
More information about the geos-commits
mailing list