[geos-commits] r3681 - branches/3.3/include/geos/algorithm
svn_geos at osgeo.org
svn_geos at osgeo.org
Fri Jun 22 08:46:04 PDT 2012
Author: strk
Date: 2012-06-22 08:46:04 -0700 (Fri, 22 Jun 2012)
New Revision: 3681
Modified:
branches/3.3/include/geos/algorithm/CentroidArea.h
Log:
Add note about handling of degenerate polygons
Modified: branches/3.3/include/geos/algorithm/CentroidArea.h
===================================================================
--- branches/3.3/include/geos/algorithm/CentroidArea.h 2012-06-22 15:44:17 UTC (rev 3680)
+++ branches/3.3/include/geos/algorithm/CentroidArea.h 2012-06-22 15:46:04 UTC (rev 3681)
@@ -50,6 +50,10 @@
* The algorithm has been extended to handle holes and multi-polygons.
* See <code>http://www.faqs.org/faqs/graphics/algorithms-faq/</code>
* for further details of the basic approach.
+ *
+ * The code has also be extended to handle degenerate (zero-area) polygons.
+ * In this case, the centroid of the line segments in the polygon
+ * will be returned.
*/
class GEOS_DLL CentroidArea {
More information about the geos-commits
mailing list