[geos-commits] r2363 - trunk/source/operation/buffer
svn_geos at osgeo.org
svn_geos at osgeo.org
Tue Apr 14 20:14:05 EDT 2009
Author: strk
Date: 2009-04-14 20:14:05 -0400 (Tue, 14 Apr 2009)
New Revision: 2363
Modified:
trunk/source/operation/buffer/BufferInputLineSimplifier.cpp
Log:
Fix typo in computing angleOrientation
Modified: trunk/source/operation/buffer/BufferInputLineSimplifier.cpp
===================================================================
--- trunk/source/operation/buffer/BufferInputLineSimplifier.cpp 2009-04-14 19:11:29 UTC (rev 2362)
+++ trunk/source/operation/buffer/BufferInputLineSimplifier.cpp 2009-04-15 00:14:05 UTC (rev 2363)
@@ -22,13 +22,6 @@
#include <geos/geom/CoordinateArraySequence.h> // for constructing the return
#include <geos/algorithm/CGAlgorithms.h> // for use
-//#include <geos/operation/buffer/RightmostEdgeFinder.h>
-//#include <geos/geomgraph/DirectedEdge.h>
-//#include <geos/geomgraph/DirectedEdgeStar.h>
-//#include <geos/geomgraph/Position.h>
-//#include <geos/geomgraph/Node.h>
-//#include <geos/geomgraph/Edge.h>
-
#include <memory>
#include <cmath>
#include <vector>
@@ -64,7 +57,7 @@
BufferInputLineSimplifier::simplify(double nDistanceTol)
{
distanceTol = fabs(nDistanceTol);
- if (distanceTol < 0)
+ if (nDistanceTol < 0)
angleOrientation = CGAlgorithms::CLOCKWISE;
// rely on fact that boolean array is filled with false value
More information about the geos-commits
mailing list