Skip to content
Permalink
Browse files

Fix doxygen warning

  • Loading branch information
nyalldawson committed Oct 8, 2015
1 parent d1be2ff commit b55708ec7b13e557404a42d62cada17c559f25db
@@ -27,7 +27,7 @@ class QgsVectorLayerEditUtils

/** Adds a ring to polygon/multipolygon features
* @param ring ring to add
* @param featureId if specified, feature ID for feature ring was added to will be stored in this parameter
* @param modifiedFeatureId if specified, feature ID for feature ring was added to will be stored in this parameter
* @param preferredFeatureIds if specified, the features will be the first candidates for adding a ring. Otherwise
* all intersecting features are tested and the ring is added to the first valid feature.
@return
@@ -37,7 +37,7 @@ class QgsVectorLayerEditUtils
3 ring not valid,
4 ring crosses existing rings,
5 no feature found where ring can be inserted*/
int addRing( const QList<QgsPoint>& ring, QgsFeatureId* featureId = 0 );
int addRing( const QList<QgsPoint>& ring, QgsFeatureId* modifiedFeatureId = 0 );

/** Adds a new part polygon to a multipart feature
@return
@@ -104,7 +104,7 @@ bool QgsVectorLayerEditUtils::deleteVertex( QgsFeatureId atFeatureId, int atVert
return true;
}

int QgsVectorLayerEditUtils::addRing( const QList<QgsPoint>& ring, QgsFeatureId* featureId, const QgsFeatureIds& preferredFeatureIds )
int QgsVectorLayerEditUtils::addRing( const QList<QgsPoint>& ring, QgsFeatureId* modifiedFeatureId, const QgsFeatureIds& preferredFeatureIds )
{
QgsLineStringV2* ringLine = new QgsLineStringV2();
QList< QgsPointV2 > ringPoints;
@@ -114,7 +114,7 @@ int QgsVectorLayerEditUtils::addRing( const QList<QgsPoint>& ring, QgsFeatureId*
ringPoints.append( QgsPointV2( ringIt->x(), ringIt->y() ) );
}
ringLine->setPoints( ringPoints );
return addRing( ringLine, featureId, preferredFeatureIds );
return addRing( ringLine, modifiedFeatureId, preferredFeatureIds );
}

int QgsVectorLayerEditUtils::addRing( QgsCurveV2* ring, QgsFeatureId* modifiedFeatureId, const QgsFeatureIds& preferredFeatureIds )
@@ -69,7 +69,7 @@ class CORE_EXPORT QgsVectorLayerEditUtils

/** Adds a ring to polygon/multipolygon features
* @param ring ring to add
* @param featureId if specified, feature ID for feature ring was added to will be stored in this parameter
* @param modifiedFeatureId if specified, feature ID for feature ring was added to will be stored in this parameter
* @param preferredFeatureIds if specified, the features will be the first candidates for adding a ring. Otherwise
* all intersecting features are tested and the ring is added to the first valid feature.
@return

0 comments on commit b55708e

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