Skip to content
Permalink
Browse files

Fix QgsGeos::linePointDifference

  • Loading branch information
dgoedkoop committed Nov 10, 2015
1 parent 9a89408 commit c05057158b18cb3735555d48b81ea5ac834aab10
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/geometry/qgsgeos.cpp
@@ -551,7 +551,7 @@ GEOSGeometry* QgsGeos::linePointDifference( GEOSGeometry* GEOSsplitPoint ) const
//For each segment
QgsLineStringV2 newLine;
newLine.addVertex( line->pointN( 0 ) );
int nVertices = newLine.numPoints();
int nVertices = line->numPoints();
for ( int j = 1; j < ( nVertices - 1 ); ++j )
{
QgsPointV2 currentPoint = line->pointN( j );

0 comments on commit c050571

Please sign in to comment.
You can’t perform that action at this time.