Skip to content

Commit

Permalink
Dox
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 24, 2021
1 parent 0d768fa commit adab3fe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Expand Up @@ -734,6 +734,12 @@ This method employs the following logic:

This method returns a reference only, and does not involve any geometry cloning.

.. note::

Ownership of the returned geometry is NOT transferred, and remains with the original
geometry object. Callers must take care to ensure that the original geometry object
exists for the lifespan of the returned object.

.. versionadded:: 3.20
%End

Expand Down
4 changes: 4 additions & 0 deletions src/core/geometry/qgsabstractgeometry.h
Expand Up @@ -718,6 +718,10 @@ class CORE_EXPORT QgsAbstractGeometry
*
* This method returns a reference only, and does not involve any geometry cloning.
*
* \note Ownership of the returned geometry is NOT transferred, and remains with the original
* geometry object. Callers must take care to ensure that the original geometry object
* exists for the lifespan of the returned object.
*
* \since QGIS 3.20
*/
virtual const QgsAbstractGeometry *simplifiedTypeRef() const SIP_HOLDGIL;
Expand Down

0 comments on commit adab3fe

Please sign in to comment.