[geos-commits] r2377 - trunk/source/headers/geos/algorithm

svn_geos at osgeo.org svn_geos at osgeo.org
Thu Apr 16 08:56:16 EDT 2009


Author: strk
Date: 2009-04-16 08:56:16 -0400 (Thu, 16 Apr 2009)
New Revision: 2377

Modified:
   trunk/source/headers/geos/algorithm/LineIntersector.h
Log:
Make enum values explicit, as JTS tests rely on those..

Modified: trunk/source/headers/geos/algorithm/LineIntersector.h
===================================================================
--- trunk/source/headers/geos/algorithm/LineIntersector.h	2009-04-16 12:54:34 UTC (rev 2376)
+++ trunk/source/headers/geos/algorithm/LineIntersector.h	2009-04-16 12:56:16 UTC (rev 2377)
@@ -125,9 +125,9 @@
 	static bool hasIntersection(const geom::Coordinate& p,const geom::Coordinate& p1,const geom::Coordinate& p2);
 
 	enum {
-		DONT_INTERSECT,
-		DO_INTERSECT,
-		COLLINEAR
+		DONT_INTERSECT=0,
+		DO_INTERSECT=1,
+		COLLINEAR=2
 	};
 
 	/// Computes the intersection of the lines p1-p2 and p3-p4



More information about the geos-commits mailing list