Skip to content
Permalink
Browse files

[Geometry checker] Remove some debugging prints

  • Loading branch information
manisandro committed Jan 19, 2016
1 parent 28dc710 commit 65aa885de8eade07bfaddb93b1cae80f60fe6f0f
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/plugins/geometry_checker/checks/qgsgeometryduplicatenodescheck.cpp
@@ -33,10 +33,8 @@ void QgsGeometryDuplicateNodesCheck::collectErrors( QList<QgsGeometryCheckError*
{
QgsPointV2 pi = geom->vertexAt( QgsVertexId( iPart, iRing, iVert ) );
QgsPointV2 pj = geom->vertexAt( QgsVertexId( iPart, iRing, jVert ) );
QgsDebugMsg( QString( "(%1,%2) (%3,%4) d = %5, tol = %6" ).arg( pi.x(), 0, 'f', 6 ).arg( pi.y(), 0, 'f', 6 ).arg( pj.x(), 0, 'f', 6 ).arg( pj.y(), 0, 'f', 6 ).arg( QgsGeometryUtils::sqrDistance2D( pi, pj ) ).arg( QgsGeometryCheckPrecision::tolerance(), 0, 'f', 16 ) );
if ( QgsGeometryUtils::sqrDistance2D( pi, pj ) < QgsGeometryCheckPrecision::tolerance() * QgsGeometryCheckPrecision::tolerance() )
{
QgsDebugMsg( "Duplicate" );
errors.append( new QgsGeometryCheckError( this, featureid, pj, QgsVertexId( iPart, iRing, jVert ) ) );
}
}

0 comments on commit 65aa885

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