[geos-commits] r4261 - trunk/src/operation/overlay/snap

Sandro Santilli strk at kbt.io
Tue Oct 4 00:38:29 PDT 2016


Author: strk
Date: 2016-10-04 00:38:29 -0700 (Tue, 04 Oct 2016)
New Revision: 4261

Modified:
   trunk/src/operation/overlay/snap/LineStringSnapper.cpp
Log:
And more trailing spaces

Modified: trunk/src/operation/overlay/snap/LineStringSnapper.cpp
===================================================================
--- trunk/src/operation/overlay/snap/LineStringSnapper.cpp	2016-10-04 07:04:22 UTC (rev 4260)
+++ trunk/src/operation/overlay/snap/LineStringSnapper.cpp	2016-10-04 07:38:29 UTC (rev 4261)
@@ -8,14 +8,14 @@
  *
  * This is free software; you can redistribute and/or modify it under
  * the terms of the GNU Lesser General Public Licence as published
- * by the Free Software Foundation. 
+ * by the Free Software Foundation.
  * See the COPYING file for more information.
  *
  ***********************************************************************
  *
  * Last port: operation/overlay/snap/LineStringSnapper.java r320 (JTS-1.12)
  *
- * NOTE: algorithm changed to improve output quality by reducing 
+ * NOTE: algorithm changed to improve output quality by reducing
  *       probability of self-intersections
  *
  **********************************************************************/
@@ -277,7 +277,7 @@
       *to = seg.p1 = snapPt;
       // now snap from-to (segpos) or to-next (segpos++) to newSnapPt
       if ( to == too_far ) {
-        if ( isClosed ) { 
+        if ( isClosed ) {
 #if GEOS_DEBUG
           cerr << " His end point is the last one, but is closed " << endl;
 #endif
@@ -316,7 +316,7 @@
       *segpos = seg.p0 = snapPt;
       // now snap prev-from (--segpos) or from-to (segpos) to newSnapPt
       if ( segpos == srcCoords.begin() ) {
-        if ( isClosed ) { 
+        if ( isClosed ) {
 #if GEOS_DEBUG
           cerr << " His start point is the first one, but is closed " << endl;
 #endif
@@ -387,7 +387,7 @@
 	// TODO: use std::find_if
 	for ( ; from != too_far; ++from)
 	{
-		seg.p0 = *from; 
+		seg.p0 = *from;
 		CoordinateList::iterator to = from;
 		++to;
 		seg.p1 = *to;



More information about the geos-commits mailing list