[geos-commits] r3246 - trunk/src/operation/buffer

svn_geos at osgeo.org svn_geos at osgeo.org
Wed Feb 23 12:13:31 EST 2011


Author: strk
Date: 2011-02-23 09:13:31 -0800 (Wed, 23 Feb 2011)
New Revision: 3246

Modified:
   trunk/src/operation/buffer/BufferInputLineSimplifier.cpp
   trunk/src/operation/buffer/BufferInputLineSimplifier.h
Log:
JTS-1.12 sync

Modified: trunk/src/operation/buffer/BufferInputLineSimplifier.cpp
===================================================================
--- trunk/src/operation/buffer/BufferInputLineSimplifier.cpp	2011-02-23 16:46:10 UTC (rev 3245)
+++ trunk/src/operation/buffer/BufferInputLineSimplifier.cpp	2011-02-23 17:13:31 UTC (rev 3246)
@@ -13,7 +13,7 @@
  *
  **********************************************************************
  *
- * Last port: operation/buffer/BufferInputLineSimplifier.java rev 1.6 (JTS-1.10)
+ * Last port: operation/buffer/BufferInputLineSimplifier.java r320 (JTS-1.12)
  *
  **********************************************************************/
 

Modified: trunk/src/operation/buffer/BufferInputLineSimplifier.h
===================================================================
--- trunk/src/operation/buffer/BufferInputLineSimplifier.h	2011-02-23 16:46:10 UTC (rev 3245)
+++ trunk/src/operation/buffer/BufferInputLineSimplifier.h	2011-02-23 17:13:31 UTC (rev 3246)
@@ -13,7 +13,7 @@
  *
  **********************************************************************
  *
- * Last port: operation/buffer/BufferInputLineSimplifier.java rev 1.6 (JTS-1.10)
+ * Last port: operation/buffer/BufferInputLineSimplifier.java r320 (JTS-1.12)
  *
  **********************************************************************/
 
@@ -54,17 +54,19 @@
  * A key aspect of the simplification is that it
  * affects inside (concave or inward) corners only.
  * Convex (outward) corners are preserved, since they
- * are required to ensure that the eventual buffer curve
+ * are required to ensure that the generated buffer curve
  * lies at the correct distance from the input geometry.
  * 
  * Another important heuristic used is that the end segments
  * of the input are never simplified.  This ensures that
- * the client buffer code is able to generate end caps consistently.
+ * the client buffer code is able to generate end caps faithfully.
  * 
  * No attempt is made to avoid self-intersections in the output.
  * This is acceptable for use for generating a buffer offset curve,
- * but means that this cannot be used as a general-purpose polygon
- * simplification algorithm.
+ * since the buffer algorithm is insensitive to invalid polygonal
+ * geometry.  However,
+ * this means that this algorithm
+ * cannot be used as a general-purpose polygon simplification technique.
  *
  * @author Martin Davis
  *



More information about the geos-commits mailing list