Skip to content

Commit

Permalink
[convert to curve] remove comments
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/core/geometry/qgsgeometry.cpp
  • Loading branch information
olivierdalang authored and nyalldawson committed Jun 18, 2021
1 parent 7c41af6 commit 948bf2a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/geometry/qgscompoundcurve.cpp
Expand Up @@ -945,7 +945,6 @@ bool QgsCompoundCurve::convertVertex( QgsVertexId position )
if ( subVertexId.vertex == 0 || subVertexId.vertex == curve->numPoints() - 1 )
return false;

// TODO factorize circularString and lineString as logic is almost the same
if ( const QgsCircularString *circularString = qgsgeometry_cast<const QgsCircularString *>( curve ) )
{
// If it's a circular string, we convert to LineString
Expand Down Expand Up @@ -982,7 +981,6 @@ bool QgsCompoundCurve::convertVertex( QgsVertexId position )
QgsPointSequence points;
lineString->points( points );

// QgsMessageLog::logMessage("TODO : LineString not treated yet", "DEBUG");
const QgsPointSequence partA = points.mid( 0, subVertexId.vertex );
const QgsPointSequence partB = QgsPointSequence() << points[subVertexId.vertex - 1] << points[subVertexId.vertex] << points[subVertexId.vertex + 1];
const QgsPointSequence partC = points.mid( subVertexId.vertex + 1 );
Expand Down

0 comments on commit 948bf2a

Please sign in to comment.