[mapguide-commits] r5560 - trunk/MgDev/Common/Geometry/Buffer

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Feb 18 15:41:17 EST 2011


Author: waltweltonlair
Date: 2011-02-18 12:41:17 -0800 (Fri, 18 Feb 2011)
New Revision: 5560

Modified:
   trunk/MgDev/Common/Geometry/Buffer/performanceOptions.h
Log:
Fix #1604 (Buffer: buffering a polygon with interior rings is defective)

Reviewed change, and submitted on behalf of Dan Stoica.


Modified: trunk/MgDev/Common/Geometry/Buffer/performanceOptions.h
===================================================================
--- trunk/MgDev/Common/Geometry/Buffer/performanceOptions.h	2011-02-18 13:05:10 UTC (rev 5559)
+++ trunk/MgDev/Common/Geometry/Buffer/performanceOptions.h	2011-02-18 20:41:17 UTC (rev 5560)
@@ -43,7 +43,7 @@
 #define PERF_TRACE_BOTH_SIDES       false
 
 // Process the entire geometry (polygons with rings, multi geometries) together
-#define PERF_MERGE_ENTIRE_GEOMETRY  false
+#define PERF_MERGE_ENTIRE_GEOMETRY  true //false - TODO: fix the algorithm for interior rings
 
 // Add the start vertex at the end of the loop. This will simplify tracing and get rid of the last arc.
 #define PERF_ADD_START_POINT_TO_LOOP true



More information about the mapguide-commits mailing list