Skip to content
Permalink
Browse files

Add missing docs

  • Loading branch information
nyalldawson committed Jan 5, 2018
1 parent b54cc36 commit 164c439af91ed3d002746569b3b5de96c5d3dd36
Showing with 9 additions and 0 deletions.
  1. +5 −0 python/core/geometry/qgscurve.sip
  2. +4 −0 src/core/geometry/qgscurve.h
@@ -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;

@@ -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;

0 comments on commit 164c439

Please sign in to comment.
You can’t perform that action at this time.