File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -419,16 +419,16 @@ class CORE_EXPORT QgsPoint: public QgsAbstractGeometry
419
419
#ifndef SIP_RUN
420
420
421
421
/* *
422
- * Cast the \a geom to a QgsPointV2 .
423
- * Should be used by qgsgeometry_cast<QgsPointV2 *>( geometry ).
422
+ * Cast the \a geom to a QgsPoint .
423
+ * Should be used by qgsgeometry_cast<QgsPoint *>( geometry ).
424
424
*
425
425
* \note Not available in Python. Objects will be automatically be converted to the appropriate target type.
426
426
* \since QGIS 3.0
427
427
*/
428
- inline const QgsPointV2 *cast ( const QgsAbstractGeometry *geom ) const
428
+ inline const QgsPoint *cast ( const QgsAbstractGeometry *geom ) const
429
429
{
430
430
if ( geom && QgsWkbTypes::flatType ( geom->wkbType () ) == QgsWkbTypes::Point )
431
- return static_cast <const QgsPointV2 *>( geom );
431
+ return static_cast <const QgsPoint *>( geom );
432
432
return nullptr ;
433
433
}
434
434
#endif
You can’t perform that action at this time.
0 commit comments