Skip to content

Commit 4c136a7

Browse files
committedAug 12, 2017
QgsPointV2 -> QgsPoint
1 parent 639d064 commit 4c136a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/core/geometry/qgspoint.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -419,16 +419,16 @@ class CORE_EXPORT QgsPoint: public QgsAbstractGeometry
419419
#ifndef SIP_RUN
420420

421421
/**
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 ).
424424
*
425425
* \note Not available in Python. Objects will be automatically be converted to the appropriate target type.
426426
* \since QGIS 3.0
427427
*/
428-
inline const QgsPointV2 *cast( const QgsAbstractGeometry *geom ) const
428+
inline const QgsPoint *cast( const QgsAbstractGeometry *geom ) const
429429
{
430430
if ( geom && QgsWkbTypes::flatType( geom->wkbType() ) == QgsWkbTypes::Point )
431-
return static_cast<const QgsPointV2 *>( geom );
431+
return static_cast<const QgsPoint *>( geom );
432432
return nullptr;
433433
}
434434
#endif

0 commit comments

Comments
 (0)
Please sign in to comment.