[geos-commits] r2315 - trunk/source/headers/geos/operation/valid
svn_geos at osgeo.org
svn_geos at osgeo.org
Tue Apr 7 06:18:59 EDT 2009
Author: strk
Date: 2009-04-07 06:18:59 -0400 (Tue, 07 Apr 2009)
New Revision: 2315
Modified:
trunk/source/headers/geos/operation/valid/IsValidOp.h
Log:
Port info, indenting
Modified: trunk/source/headers/geos/operation/valid/IsValidOp.h
===================================================================
--- trunk/source/headers/geos/operation/valid/IsValidOp.h 2009-04-07 09:56:43 UTC (rev 2314)
+++ trunk/source/headers/geos/operation/valid/IsValidOp.h 2009-04-07 10:18:59 UTC (rev 2315)
@@ -12,6 +12,10 @@
* by the Free Software Foundation.
* See the COPYING file for more information.
*
+ **********************************************************************
+ *
+ * Last port: operation/valid/IsValidOp.java rev. 1.41 (JTS-1.9)
+ *
**********************************************************************/
#ifndef GEOS_OP_ISVALIDOP_H
@@ -49,16 +53,20 @@
namespace valid { // geos::operation::valid
/** \brief
- * Implements the algorithsm required to compute the <code>isValid()</code> method
- * for {@link Geometry}s.
- *
+ * Implements the algorithsm required to compute the <code>isValid()</code>
+ * method for {@link Geometry}s.
*/
class IsValidOp {
friend class Unload;
private:
- const geom::Geometry *parentGeometry; // the base Geometry to be validated
+ /// the base Geometry to be validated
+ const geom::Geometry *parentGeometry;
+
bool isChecked;
- TopologyValidationError* validErr; // CHECKME: should this really be a pointer ?
+
+ // CHECKME: should this really be a pointer ?
+ TopologyValidationError* validErr;
+
void checkValid(const geom::Geometry *g);
void checkValid(const geom::Point *g);
void checkValid(const geom::LinearRing *g);
@@ -187,7 +195,8 @@
*/
static const geom::Coordinate *findPtNotNode(
const geom::CoordinateSequence *testCoords,
- const geom::LinearRing *searchRing, geomgraph::GeometryGraph *graph);
+ const geom::LinearRing *searchRing,
+ geomgraph::GeometryGraph *graph);
/**
* Checks whether a coordinate is valid for processing.
More information about the geos-commits
mailing list