[geos-commits] r4259 - trunk/src/operation/overlay/snap
Sandro Santilli
strk at kbt.io
Mon Oct 3 23:59:05 PDT 2016
Author: strk
Date: 2016-10-03 23:59:04 -0700 (Mon, 03 Oct 2016)
New Revision: 4259
Modified:
trunk/src/operation/overlay/snap/GeometrySnapper.cpp
Log:
Drop trailing blanks
Modified: trunk/src/operation/overlay/snap/GeometrySnapper.cpp
===================================================================
--- trunk/src/operation/overlay/snap/GeometrySnapper.cpp 2016-09-27 16:39:46 UTC (rev 4258)
+++ trunk/src/operation/overlay/snap/GeometrySnapper.cpp 2016-10-04 06:59:04 UTC (rev 4259)
@@ -8,7 +8,7 @@
*
* 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.
*
***********************************************************************
@@ -42,7 +42,7 @@
namespace overlay { // geos.operation.overlay
namespace snap { // geos.operation.overlay.snap
-const double GeometrySnapper::snapPrecisionFactor = 1e-9;
+const double GeometrySnapper::snapPrecisionFactor = 1e-9;
class SnapTransformer: public geos::geom::util::GeometryTransformer {
@@ -106,7 +106,7 @@
using std::auto_ptr;
using geom::util::GeometryTransformer;
-
+
// Get snap points
auto_ptr<Coordinate::ConstVect> snapPts=extractTargetCoordinates(g);
@@ -123,7 +123,7 @@
using std::auto_ptr;
using geom::util::GeometryTransformer;
-
+
// Get snap points
auto_ptr<Coordinate::ConstVect> snapPts=extractTargetCoordinates(srcGeom);
@@ -132,7 +132,7 @@
auto_ptr<GeometryTransformer> snapTrans(new SnapTransformer(snapTolerance, *snapPts));
GeomPtr result = snapTrans->transform(&srcGeom);
-
+
if (cleanResult && ( dynamic_cast<const Polygon*>(result.get()) ||
dynamic_cast<const MultiPolygon*>(result.get()) ) )
{
More information about the geos-commits
mailing list