Skip to content
Permalink
Browse files
Dox ++
  • Loading branch information
nyalldawson committed Apr 27, 2021
1 parent a9ba935 commit bab01b1b757ee36700a7d9a3f4da970c952025fb
@@ -829,6 +829,12 @@ geometries of different types.
Compares to an ``other`` geometry of the same class, and returns a integer
for sorting of the two geometries.

.. note::

The actual logic for the sorting is an internal detail only and is subject to change
between QGIS versions. The result should only be used for direct comparison of geometries
and not stored for later use.

.. versionadded:: 3.20
%End

@@ -1045,6 +1045,10 @@ class CORE_EXPORT QgsAbstractGeometry
* Compares to an \a other geometry of the same class, and returns a integer
* for sorting of the two geometries.
*
* \note The actual logic for the sorting is an internal detail only and is subject to change
* between QGIS versions. The result should only be used for direct comparison of geometries
* and not stored for later use.
*
* \since QGIS 3.20
*/
virtual int compareToSameClass( const QgsAbstractGeometry *other ) const = 0;

0 comments on commit bab01b1

Please sign in to comment.