Skip to content

Commit 1d21072

Browse files
authored
Merge pull request #5491 from m-kuhn/dropV2
Drop V2 suffix on all geometry classes
2 parents 86d170b + d2c1011 commit 1d21072

File tree

171 files changed

+1226
-1208
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+1226
-1208
lines changed

doc/api_break.dox

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ Renamed Classes {#qgis_api_break_3_0_renamed_classes}
6464
<caption id="renamed_classes">Renamed classes</caption>
6565
<tr><th>API 2.x<th>API 3.X
6666
<tr><td>QgisGui<td>QgsGuiUtils
67-
<tr><td>QgsAttributeAction<td>QgsActionManager
6867
<tr><td>QgsAbstractGeometryV2<td>QgsAbstractGeometry
68+
<tr><td>QgsArcProperter<td>QgsStrategy
69+
<tr><td>QgsAttributeAction<td>QgsActionManager
6970
<tr><td>QgsCategorizedSymbolRendererV2<td>QgsCategorizedSymbolRenderer
7071
<tr><td>QgsCategorizedSymbolRendererV2Model<td>QgsCategorizedSymbolRendererModel
7172
<tr><td>QgsCategorizedSymbolRendererV2ViewStyle<td>QgsCategorizedSymbolRendererViewStyle
@@ -86,6 +87,7 @@ Renamed Classes {#qgis_api_break_3_0_renamed_classes}
8687
<tr><td>QgsCurveV2<td>QgsCurve
8788
<tr><td>QgsDbFilterProxyModel<td>QgsDatabaseFilterProxyModel
8889
<tr><td>QgsDiagramRendererV2<td>QgsDiagramRenderer
90+
<tr><td>QgsDistanceArcProperter<td>QgsDistanceStrategy
8991
<tr><td>QgsDoubleBoxBarStyle<td>QgsDoubleBoxScaleBarRenderer
9092
<tr><td>QgsEditorWidgetV2<td>QgsEditorWidget
9193
<tr><td>QgsEllipseSymbolLayerV2<td>QgsEllipseSymbolLayer
@@ -104,6 +106,7 @@ Renamed Classes {#qgis_api_break_3_0_renamed_classes}
104106
<tr><td>QgsGraduatedSymbolRendererV2Model<td>QgsGraduatedSymbolRendererModel
105107
<tr><td>QgsGraduatedSymbolRendererV2ViewStyle<td>QgsGraduatedSymbolRendererViewStyle
106108
<tr><td>QgsGraduatedSymbolRendererV2Widget<td>QgsGraduatedSymbolRendererWidget
109+
<tr><td>QgsGraphArc<td>QgsGraphEdge
107110
<tr><td>QgsJSONExporter<td>QgsJsonExporter
108111
<tr><td>QgsJSONUtils<td>QgsJsonUtils
109112
<tr><td>QgsLabelingEngineV2<td>QgsLabelingEngine
@@ -118,11 +121,21 @@ Renamed Classes {#qgis_api_break_3_0_renamed_classes}
118121
<tr><td>QgsMarkerSymbolV2<td>QgsMarkerSymbol
119122
<tr><td>QgsMultiCurveV2<td>QgsMultiCurve
120123
<tr><td>QgsMultiLineStringV2<td>QgsMultiLineString
124+
<tr><td>QgsMultiPoint<td>QgsMultiPointXY
125+
<tr><td>QgsMultiPointV2<td>QgsMultiPoint
126+
<tr><td>QgsMultiPolygon<td>QgsPolygonXY
127+
<tr><td>QgsMultiPolygonV2<td>QgsPolygon
128+
<tr><td>QgsMultiPolyline<td>QgsPolylineXY
129+
<tr><td>QgsMultiPolylineV2<td>QgsPolyline
121130
<tr><td>QgsMultiSurfaceV2<td>QgsMultiSurface
122131
<tr><td>QgsNumericScaleBarStyle<td>QgsNumericScaleBarRenderer
123-
<tr><td>QgsPointV2<td>QgsPoint
124132
<tr><td>QgsPoint<td>QgsPointXY
125133
<tr><td>QgsPointSequenceV2<td>QgsPointSequence
134+
<tr><td>QgsPointV2<td>QgsPoint
135+
<tr><td>QgsPolygon<td>QgsPolygonXY
136+
<tr><td>QgsPolygonV2<td>QgsPolygon
137+
<tr><td>QgsPolyline<td>QgsPolylineXY
138+
<tr><td>QgsPolylineV2<td>QgsPolyline
126139
<tr><td>QgsProperty<td>QgsProjectProperty
127140
<tr><td>QgsPropertyKey<td>QgsProjectPropertyKey
128141
<tr><td>QgsPropertyValue<td>QgsProjectPropertyValue
@@ -175,6 +188,7 @@ Renamed Classes {#qgis_api_break_3_0_renamed_classes}
175188
<tr><td>QgsSymbolLayerV2Utils<td>QgsSymbolLayerUtils
176189
<tr><td>QgsSymbolLayerV2Widget<td>QgsSymbolLayerWidget
177190
<tr><td>QgsSymbolLevelsV2Dialog<td>QgsSymbolLevelsDialog
191+
<tr><td>QgsSymbolV2<td>QgsSymbol
178192
<tr><td>QgsSymbolV2LegendNode<td>QgsSymbolLegendNode
179193
<tr><td>QgsSymbolV2LevelItem<td>QgsSymbolLevelItem
180194
<tr><td>QgsSymbolV2RenderContext<td>QgsSymbolRenderContext
@@ -196,10 +210,6 @@ Renamed Classes {#qgis_api_break_3_0_renamed_classes}
196210
<tr><td>QgsVectorRandomColorRampV2<td>QgsLimitedRandomColorRamp
197211
<tr><td>QgsVectorRandomColorRampV2Dialog<td>QgsLimitedRandomColorRampDialog
198212
<tr><td>QgsVectorRandomColorRampV2DialogBase<td>QgsLimitedRandomColorRampDialogBase
199-
<tr><td>QgsSymbolV2<td>QgsSymbol
200-
<tr><td>QgsArcProperter<td>QgsStrategy
201-
<tr><td>QgsDistanceArcProperter<td>QgsDistanceStrategy
202-
<tr><td>QgsGraphArc<td>QgsGraphEdge
203213
</table>
204214

205215
<table>
@@ -1301,8 +1311,8 @@ method if the geometry is not being modified.
13011311
empty geometry collection)
13021312
- wkbSize() and asWkb() has been replaced by exportToWkb(). WKB representation is no longer cached within QgsGeometry
13031313
- asGeos() has been replaced by exportToGeos(). GEOS representation is no longer cached within QgsGeometry
1304-
- int addPart( const QList<QgsPoint> &points, QgsWkbTypes::GeometryType geomType ) has been renamed to addPoints
1305-
- int addPart( const QList<QgsPointV2> &points, QgsWkbTypes::GeometryType geomType ) has been renamed to addPointsV2
1314+
- int addPart( const QList<QgsPoint> &points, QgsWkbTypes::GeometryType geomType ) has been renamed to addPointsXY
1315+
- int addPart( const QList<QgsPointV2> &points, QgsWkbTypes::GeometryType geomType ) has been renamed to addPoints
13061316
- static bool compare( const QgsPolyline& p1, const QgsPolyline& p2, double epsilon ) has been renamed to comparePolylines
13071317
- static bool compare( const QgsPolygon& p1, const QgsPolygon& p2, double epsilon ) has been renamed to comparePolygons
13081318
- static bool compare( const QgsMultiPolygon& p1, const QgsMultiPolygon& p2, double epsilon ) has been renamed to compareMultiPolygons
@@ -1314,6 +1324,11 @@ empty geometry collection)
13141324
- fromPolyline() now requires a list of QgsPoint objects, instead of QgsPointXY 2d points. A new method fromPolylineXY was
13151325
added which uses the old list of 2d QgsPointXY objects. Using the newer method with QgsPoint is greatly preferred, as it
13161326
maintains Z or M dimensions from the input points and is more efficient.
1327+
- fromPoint() was renamed to fromPointXY()
1328+
- fromMultiPoint() was renamed to fromMultiPointXY()
1329+
- fromMultiPolyline() was renamed to fromMultiPolylineXY()
1330+
- fromPolygon() was renamed to fromPolygonXY()
1331+
- fromMultiPolygon() was renamed to fromMultiPolygonXY()
13171332

13181333

13191334
QgsGeometryAnalyzer {#qgis_api_break_3_0_QgsGeometryAnalyzer}

python/core/geometry/qgsabstractgeometry.sip

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ class QgsAbstractGeometry
3535
sipType = sipType_QgsCompoundCurve;
3636
else if ( qgsgeometry_cast<QgsTriangle *>( sipCpp ) != nullptr )
3737
sipType = sipType_QgsTriangle;
38-
else if ( qgsgeometry_cast<QgsPolygonV2 *>( sipCpp ) != nullptr )
39-
sipType = sipType_QgsPolygonV2;
38+
else if ( qgsgeometry_cast<QgsPolygon *>( sipCpp ) != nullptr )
39+
sipType = sipType_QgsPolygon;
4040
else if ( qgsgeometry_cast<QgsCurvePolygon *>( sipCpp ) != nullptr )
4141
sipType = sipType_QgsCurvePolygon;
42-
else if ( qgsgeometry_cast<QgsMultiPointV2 *>( sipCpp ) != nullptr )
43-
sipType = sipType_QgsMultiPointV2;
42+
else if ( qgsgeometry_cast<QgsMultiPoint *>( sipCpp ) != nullptr )
43+
sipType = sipType_QgsMultiPoint;
4444
else if ( qgsgeometry_cast<QgsMultiLineString *>( sipCpp ) != nullptr )
4545
sipType = sipType_QgsMultiLineString;
46-
else if ( qgsgeometry_cast<QgsMultiPolygonV2 *>( sipCpp ) != nullptr )
47-
sipType = sipType_QgsMultiPolygonV2;
46+
else if ( qgsgeometry_cast<QgsMultiPolygon *>( sipCpp ) != nullptr )
47+
sipType = sipType_QgsMultiPolygon;
4848
else if ( qgsgeometry_cast<QgsMultiSurface *>( sipCpp ) != nullptr )
4949
sipType = sipType_QgsMultiSurface;
5050
else if ( qgsgeometry_cast<QgsMultiCurve *>( sipCpp ) != nullptr )
@@ -396,8 +396,8 @@ Returns the centroid of the geometry
396396
virtual QgsAbstractGeometry *toCurveType() const = 0 /Factory/;
397397
%Docstring
398398
Returns the geometry converted to the more generic curve type.
399-
E.g. QgsLineString -> QgsCompoundCurve, QgsPolygonV2 -> QgsCurvePolygon,
400-
QgsMultiLineString -> QgsMultiCurve, QgsMultiPolygonV2 -> QgsMultiSurface
399+
E.g. QgsLineString -> QgsCompoundCurve, QgsPolygon -> QgsCurvePolygon,
400+
QgsMultiLineString -> QgsMultiCurve, QgsMultiPolygon -> QgsMultiSurface
401401
:return: the converted geometry. Caller takes ownership
402402
:rtype: QgsAbstractGeometry
403403
%End

python/core/geometry/qgscurvepolygon.sip

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class QgsCurvePolygon: QgsSurface
6161

6262
virtual double perimeter() const;
6363

64-
virtual QgsPolygonV2 *surfaceToPolygon() const /Factory/;
64+
virtual QgsPolygon *surfaceToPolygon() const /Factory/;
6565

6666
virtual QgsAbstractGeometry *boundary() const /Factory/;
6767

@@ -81,13 +81,13 @@ class QgsCurvePolygon: QgsSurface
8181
:rtype: QgsCurve
8282
%End
8383

84-
virtual QgsPolygonV2 *toPolygon( double tolerance = M_PI_2 / 90, SegmentationToleranceType toleranceType = MaximumAngle ) const /Factory/;
84+
virtual QgsPolygon *toPolygon( double tolerance = M_PI_2 / 90, SegmentationToleranceType toleranceType = MaximumAngle ) const /Factory/;
8585
%Docstring
8686
Returns a new polygon geometry corresponding to a segmentized approximation
8787
of the curve.
8888
\param tolerance segmentation tolerance
8989
\param toleranceType maximum segmentation angle or maximum difference between approximation and curve*
90-
:rtype: QgsPolygonV2
90+
:rtype: QgsPolygon
9191
%End
9292

9393
virtual void setExteriorRing( QgsCurve *ring /Transfer/ );

python/core/geometry/qgsellipse.sip

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,11 @@ The circumference of the ellipse using first approximation of Ramanujan.
202202
:rtype: QgsPointSequence
203203
%End
204204

205-
virtual QgsPolygonV2 *toPolygon( unsigned int segments = 36 ) const /Factory/;
205+
virtual QgsPolygon *toPolygon( unsigned int segments = 36 ) const /Factory/;
206206
%Docstring
207207
Returns a segmented polygon.
208208
\param segments Number of segments used to segment geometry.
209-
:rtype: QgsPolygonV2
209+
:rtype: QgsPolygon
210210
%End
211211

212212
virtual QgsLineString *toLineString( unsigned int segments = 36 ) const /Factory/;
@@ -216,10 +216,10 @@ The circumference of the ellipse using first approximation of Ramanujan.
216216
:rtype: QgsLineString
217217
%End
218218

219-
virtual QgsPolygonV2 *orientedBoundingBox() const /Factory/;
219+
virtual QgsPolygon *orientedBoundingBox() const /Factory/;
220220
%Docstring
221221
Returns the oriented minimal bounding box for the ellipse.
222-
:rtype: QgsPolygonV2
222+
:rtype: QgsPolygon
223223
%End
224224

225225
virtual QgsRectangle boundingBox() const;

python/core/geometry/qgsgeometry.sip

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ typedef QVector<QgsPointXY> QgsPolylineXY;
1919

2020
typedef QVector<QgsPoint> QgsPolyline;
2121

22-
typedef QVector<QVector<QgsPointXY>> QgsPolygon;
22+
typedef QVector<QVector<QgsPointXY>> QgsPolygonXY;
2323

24-
typedef QVector<QgsPointXY> QgsMultiPoint;
24+
typedef QVector<QgsPointXY> QgsMultiPointXY;
2525

26-
typedef QVector<QVector<QgsPointXY>> QgsMultiPolyline;
26+
typedef QVector<QVector<QgsPointXY>> QgsMultiPolylineXY;
2727

28-
typedef QVector<QVector<QVector<QgsPointXY>>> QgsMultiPolygon;
28+
typedef QVector<QVector<QVector<QgsPointXY>>> QgsMultiPolygonXY;
2929

3030

3131

@@ -145,14 +145,14 @@ Copy constructor will prompt a deep copy of the object
145145
Creates a new geometry from a WKT string
146146
:rtype: QgsGeometry
147147
%End
148-
static QgsGeometry fromPoint( const QgsPointXY &point );
148+
static QgsGeometry fromPointXY( const QgsPointXY &point );
149149
%Docstring
150150
Creates a new geometry from a QgsPointXY object
151151
:rtype: QgsGeometry
152152
%End
153-
static QgsGeometry fromMultiPoint( const QgsMultiPoint &multipoint );
153+
static QgsGeometry fromMultiPointXY( const QgsMultiPointXY &multipoint );
154154
%Docstring
155-
Creates a new geometry from a QgsMultiPoint object
155+
Creates a new geometry from a QgsMultiPointXY object
156156
:rtype: QgsGeometry
157157
%End
158158

@@ -184,17 +184,17 @@ Creates a new geometry from a QgsMultiPoint object
184184
:rtype: QgsGeometry
185185
%End
186186

187-
static QgsGeometry fromMultiPolyline( const QgsMultiPolyline &multiline );
187+
static QgsGeometry fromMultiPolylineXY( const QgsMultiPolylineXY &multiline );
188188
%Docstring
189-
Creates a new geometry from a QgsMultiPolyline object
189+
Creates a new geometry from a QgsMultiPolylineXY object
190190
:rtype: QgsGeometry
191191
%End
192-
static QgsGeometry fromPolygon( const QgsPolygon &polygon );
192+
static QgsGeometry fromPolygonXY( const QgsPolygonXY &polygon );
193193
%Docstring
194194
Creates a new geometry from a QgsPolygon
195195
:rtype: QgsGeometry
196196
%End
197-
static QgsGeometry fromMultiPolygon( const QgsMultiPolygon &multipoly );
197+
static QgsGeometry fromMultiPolygonXY( const QgsMultiPolygonXY &multipoly );
198198
%Docstring
199199
Creates a new geometry from a QgsMultiPolygon
200200
:rtype: QgsGeometry
@@ -519,7 +519,7 @@ Returns true if WKB of the geometry is of WKBMulti* type
519519
:rtype: OperationResult
520520
%End
521521

522-
OperationResult addPart( const QList<QgsPointXY> &points, QgsWkbTypes::GeometryType geomType = QgsWkbTypes::UnknownGeometry ) /PyName=addPoints/;
522+
OperationResult addPart( const QList<QgsPointXY> &points, QgsWkbTypes::GeometryType geomType = QgsWkbTypes::UnknownGeometry ) /PyName=addPointsXY/;
523523
%Docstring
524524
Adds a new part to a the geometry.
525525
\param points points describing part to add
@@ -528,7 +528,7 @@ Returns true if WKB of the geometry is of WKBMulti* type
528528
:rtype: OperationResult
529529
%End
530530

531-
OperationResult addPart( const QgsPointSequence &points, QgsWkbTypes::GeometryType geomType = QgsWkbTypes::UnknownGeometry ) /PyName=addPointsV2/;
531+
OperationResult addPart( const QgsPointSequence &points, QgsWkbTypes::GeometryType geomType = QgsWkbTypes::UnknownGeometry ) /PyName=addPoints/;
532532
%Docstring
533533
Adds a new part to a the geometry.
534534
\param points points describing part to add
@@ -1144,32 +1144,32 @@ Returns an extruded version of this geometry.
11441144
:rtype: QgsPolylineXY
11451145
%End
11461146

1147-
QgsPolygon asPolygon() const;
1147+
QgsPolygonXY asPolygon() const;
11481148
%Docstring
11491149
Returns contents of the geometry as a polygon
11501150
if wkbType is WKBPolygon, otherwise an empty list
1151-
:rtype: QgsPolygon
1151+
:rtype: QgsPolygonXY
11521152
%End
11531153

1154-
QgsMultiPoint asMultiPoint() const;
1154+
QgsMultiPointXY asMultiPoint() const;
11551155
%Docstring
11561156
Returns contents of the geometry as a multi point
11571157
if wkbType is WKBMultiPoint, otherwise an empty list
1158-
:rtype: QgsMultiPoint
1158+
:rtype: QgsMultiPointXY
11591159
%End
11601160

1161-
QgsMultiPolyline asMultiPolyline() const;
1161+
QgsMultiPolylineXY asMultiPolyline() const;
11621162
%Docstring
11631163
Returns contents of the geometry as a multi linestring
11641164
if wkbType is WKBMultiLineString, otherwise an empty list
1165-
:rtype: QgsMultiPolyline
1165+
:rtype: QgsMultiPolylineXY
11661166
%End
11671167

1168-
QgsMultiPolygon asMultiPolygon() const;
1168+
QgsMultiPolygonXY asMultiPolygon() const;
11691169
%Docstring
11701170
Returns contents of the geometry as a multi polygon
11711171
if wkbType is WKBMultiPolygon, otherwise an empty list
1172-
:rtype: QgsMultiPolygon
1172+
:rtype: QgsMultiPolygonXY
11731173
%End
11741174

11751175
QList<QgsGeometry> asGeometryCollection() const;
@@ -1430,20 +1430,20 @@ Returns an extruded version of this geometry.
14301430
:rtype: QgsPolylineXY
14311431
%End
14321432

1433-
static QgsPolygon createPolygonFromQPolygonF( const QPolygonF &polygon ) /Factory/;
1433+
static QgsPolygonXY createPolygonFromQPolygonF( const QPolygonF &polygon ) /Factory/;
14341434
%Docstring
1435-
Creates a QgsPolygon from a QPolygonF.
1435+
Creates a QgsPolygonXYfrom a QPolygonF.
14361436
\param polygon source polygon
14371437
:return: QgsPolygon
14381438
.. seealso:: createPolylineFromQPolygonF
1439-
:rtype: QgsPolygon
1439+
:rtype: QgsPolygonXY
14401440
%End
14411441

14421442

14431443
static bool compare( PyObject *obj1, PyObject *obj2, double epsilon = 4 * DBL_EPSILON );
14441444
%Docstring
14451445
Compares two geometry objects for equality within a specified tolerance.
1446-
The objects can be of type QgsPolylineXY, QgsPolygon or QgsMultiPolygon.
1446+
The objects can be of type QgsPolylineXY, QgsPolygonXYor QgsMultiPolygon.
14471447
The 2 types should match.
14481448
\param p1 first geometry object
14491449
\param p2 second geometry object
@@ -1507,10 +1507,10 @@ Returns an extruded version of this geometry.
15071507
sipCanConvertToType( a0, sipType_QVector_0600QVector_0100QgsPointXY, SIP_NOT_NONE ) &&
15081508
sipCanConvertToType( a1, sipType_QVector_0600QVector_0100QgsPointXY, SIP_NOT_NONE ) )
15091509
{
1510-
QgsPolygon *p0;
1511-
QgsPolygon *p1;
1512-
p0 = reinterpret_cast<QgsPolygon *>( sipConvertToType( a0, sipType_QVector_0600QVector_0100QgsPointXY, 0, SIP_NOT_NONE, &state0, &sipIsErr ) );
1513-
p1 = reinterpret_cast<QgsPolygon *>( sipConvertToType( a1, sipType_QVector_0600QVector_0100QgsPointXY, 0, SIP_NOT_NONE, &state1, &sipIsErr ) );
1510+
QgsPolygonXY *p0;
1511+
QgsPolygonXY *p1;
1512+
p0 = reinterpret_cast<QgsPolygonXY *>( sipConvertToType( a0, sipType_QVector_0600QVector_0100QgsPointXY, 0, SIP_NOT_NONE, &state0, &sipIsErr ) );
1513+
p1 = reinterpret_cast<QgsPolygonXY *>( sipConvertToType( a1, sipType_QVector_0600QVector_0100QgsPointXY, 0, SIP_NOT_NONE, &state1, &sipIsErr ) );
15141514
if ( sipIsErr )
15151515
{
15161516
sipReleaseType( p0, sipType_QVector_0600QVector_0100QgsPointXY, state0 );
@@ -1534,10 +1534,10 @@ Returns an extruded version of this geometry.
15341534
sipCanConvertToType( a0, sipType_QVector_0600QVector_0600QVector_0100QgsPointXY, SIP_NOT_NONE ) &&
15351535
sipCanConvertToType( a1, sipType_QVector_0600QVector_0600QVector_0100QgsPointXY, SIP_NOT_NONE ) )
15361536
{
1537-
QgsMultiPolygon *p0;
1538-
QgsMultiPolygon *p1;
1539-
p0 = reinterpret_cast<QgsMultiPolygon *>( sipConvertToType( a0, sipType_QVector_0600QVector_0600QVector_0100QgsPointXY, 0, SIP_NOT_NONE, &state0, &sipIsErr ) );
1540-
p1 = reinterpret_cast<QgsMultiPolygon *>( sipConvertToType( a1, sipType_QVector_0600QVector_0600QVector_0100QgsPointXY, 0, SIP_NOT_NONE, &state1, &sipIsErr ) );
1537+
QgsMultiPolygonXY *p0;
1538+
QgsMultiPolygonXY *p1;
1539+
p0 = reinterpret_cast<QgsMultiPolygonXY *>( sipConvertToType( a0, sipType_QVector_0600QVector_0600QVector_0100QgsPointXY, 0, SIP_NOT_NONE, &state0, &sipIsErr ) );
1540+
p1 = reinterpret_cast<QgsMultiPolygonXY *>( sipConvertToType( a1, sipType_QVector_0600QVector_0600QVector_0100QgsPointXY, 0, SIP_NOT_NONE, &state1, &sipIsErr ) );
15411541
if ( sipIsErr )
15421542
{
15431543
sipReleaseType( p0, sipType_QVector_0600QVector_0600QVector_0100QgsPointXY, state0 );
@@ -1581,16 +1581,16 @@ Returns an extruded version of this geometry.
15811581

15821582
static void convertPointList( const QList<QgsPointXY> &input, QgsPointSequence &output );
15831583
%Docstring
1584-
Upgrades a point list from QgsPointXY to QgsPointV2
1584+
Upgrades a point list from QgsPointXY to QgsPoint
15851585
\param input list of QgsPointXY objects to be upgraded
1586-
\param output destination for list of points converted to QgsPointV2
1586+
\param output destination for list of points converted to QgsPoint
15871587
%End
15881588

15891589
static void convertPointList( const QgsPointSequence &input, QList<QgsPointXY> &output );
15901590
%Docstring
1591-
Downgrades a point list from QgsPoint to QgsPoint
1591+
Downgrades a point list from QgsPoint to QgsPointXY
15921592
\param input list of QgsPoint objects to be downgraded
1593-
\param output destination for list of points converted to QgsPoint
1593+
\param output destination for list of points converted to QgsPointXY
15941594
%End
15951595

15961596
operator QVariant() const;

0 commit comments

Comments
 (0)