Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add missing docs
  • Loading branch information
nyalldawson committed Jan 5, 2018
1 parent b54cc36 commit 164c439
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/core/geometry/qgscurve.sip
Expand Up @@ -29,6 +29,11 @@ Constructor for QgsCurve.
%End

virtual bool equals( const QgsCurve &other ) const = 0;
%Docstring
Checks whether this curve exactly equals another curve.

.. versionadded:: 3.0
%End

virtual bool operator==( const QgsAbstractGeometry &other ) const;

Expand Down
4 changes: 4 additions & 0 deletions src/core/geometry/qgscurve.h
Expand Up @@ -41,6 +41,10 @@ class CORE_EXPORT QgsCurve: public QgsAbstractGeometry
*/
QgsCurve() = default;

/**
* Checks whether this curve exactly equals another curve.
* \since QGIS 3.0
*/
virtual bool equals( const QgsCurve &other ) const = 0;

bool operator==( const QgsAbstractGeometry &other ) const override;
Expand Down

0 comments on commit 164c439

Please sign in to comment.