@@ -32,39 +32,45 @@ class CORE_EXPORT QgsVectorLayerEditUtils
3232 public:
3333 QgsVectorLayerEditUtils ( QgsVectorLayer *layer );
3434
35- /* * Insert a new vertex before the given vertex number,
36- * in the given ring, item (first number is index 0), and feature
37- * Not meaningful for Point geometries
35+ /* *
36+ * Insert a new vertex before the given vertex number,
37+ * in the given ring, item (first number is index 0), and feature
38+ * Not meaningful for Point geometries
3839 */
3940 bool insertVertex ( double x, double y, QgsFeatureId atFeatureId, int beforeVertex );
4041
41- /* * Insert a new vertex before the given vertex number,
42- * in the given ring, item (first number is index 0), and feature
43- * Not meaningful for Point geometries
42+ /* *
43+ * Inserts a new vertex before the given vertex number,
44+ * in the given ring, item (first number is index 0), and feature
45+ * Not meaningful for Point geometries
4446 */
4547 bool insertVertex ( const QgsPoint &point, QgsFeatureId atFeatureId, int beforeVertex );
4648
47- /* * Moves the vertex at the given position number,
48- * ring and item (first number is index 0), and feature
49- * to the given coordinates
49+ /* *
50+ * Moves the vertex at the given position number,
51+ * ring and item (first number is index 0), and feature
52+ * to the given coordinates
5053 */
5154 bool moveVertex ( double x, double y, QgsFeatureId atFeatureId, int atVertex );
5255
53- /* * Moves the vertex at the given position number,
54- * ring and item (first number is index 0), and feature
55- * to the given coordinates
56- * \note available in Python bindings as moveVertexV2
56+ /* *
57+ * Moves the vertex at the given position number,
58+ * ring and item (first number is index 0), and feature
59+ * to the given coordinates
60+ * \note available in Python bindings as moveVertexV2
5761 */
5862 bool moveVertex ( const QgsPoint &p, QgsFeatureId atFeatureId, int atVertex ) SIP_PYNAME( moveVertexV2 );
5963
60- /* * Deletes a vertex from a feature.
64+ /* *
65+ * Deletes a vertex from a feature.
6166 * \param featureId ID of feature to remove vertex from
6267 * \param vertex index of vertex to delete
6368 * \since QGIS 2.14
6469 */
6570 QgsVectorLayer::EditResult deleteVertex ( QgsFeatureId featureId, int vertex );
6671
67- /* * Adds a ring to polygon/multipolygon features
72+ /* *
73+ * Adds a ring to polygon/multipolygon features
6874 * \param ring ring to add
6975 * \param targetFeatureIds if specified, only these features will be the candidates for adding a ring. Otherwise
7076 * all intersecting features are tested and the ring is added to the first valid feature.
@@ -109,7 +115,7 @@ class CORE_EXPORT QgsVectorLayerEditUtils
109115 QgsGeometry::OperationResult addPart ( const QgsPointSequence &ring, QgsFeatureId featureId );
110116
111117 /* *
112- * Add a new part polygon to a multipart feature
118+ * Adds a new part polygon to a multipart feature
113119 *
114120 * \return
115121 * - QgsGeometry::Success
@@ -132,7 +138,7 @@ class CORE_EXPORT QgsVectorLayerEditUtils
132138 int translateFeature ( QgsFeatureId featureId, double dx, double dy );
133139
134140 /* *
135- * Split parts cut by the given line
141+ * Splits parts cut by the given line
136142 * \param splitLine line that splits the layer feature parts
137143 * \param topologicalEditing true if topological editing is enabled
138144 * \return
@@ -156,14 +162,16 @@ class CORE_EXPORT QgsVectorLayerEditUtils
156162 */
157163 QgsGeometry::OperationResult splitFeatures ( const QList<QgsPointXY> &splitLine, bool topologicalEditing = false );
158164
159- /* * Adds topological points for every vertex of the geometry.
165+ /* *
166+ * Adds topological points for every vertex of the geometry.
160167 * \param geom the geometry where each vertex is added to segments of other features
161168 * \note geom is not going to be modified by the function
162169 * \returns 0 in case of success
163170 */
164171 int addTopologicalPoints ( const QgsGeometry &geom );
165172
166- /* * Adds a vertex to segments which intersect point p but don't
173+ /* *
174+ * Adds a vertex to segments which intersect point p but don't
167175 * already have a vertex there. If a feature already has a vertex at position p,
168176 * no additional vertex is inserted. This method is useful for topological
169177 * editing.
0 commit comments