[geos-commits] r3153 - trunk/src/operation/overlay/snap
svn_geos at osgeo.org
svn_geos at osgeo.org
Fri Dec 3 05:52:28 EST 2010
Author: strk
Date: 2010-12-03 02:52:27 -0800 (Fri, 03 Dec 2010)
New Revision: 3153
Modified:
trunk/src/operation/overlay/snap/LineStringSnapper.cpp
Log:
update dox
Modified: trunk/src/operation/overlay/snap/LineStringSnapper.cpp
===================================================================
--- trunk/src/operation/overlay/snap/LineStringSnapper.cpp 2010-12-03 10:49:49 UTC (rev 3152)
+++ trunk/src/operation/overlay/snap/LineStringSnapper.cpp 2010-12-03 10:52:27 UTC (rev 3153)
@@ -233,6 +233,13 @@
cerr << " Checking segment " << seg << " for snapping against point " << snapPt << endl;
#endif
+ /** * Check if the snap pt is equal to one of
+ * the segment endpoints.
+ *
+ * If the snap pt is already in the src list,
+ * don't snap at all (unless allowSnappingToSourceVertices
+ * is set to true)
+ */
if ( seg.p0.equals2D(snapPt) || seg.p1.equals2D(snapPt) )
{
More information about the geos-commits
mailing list