Skip to content
Permalink
Browse files

Add doxymentation

  • Loading branch information
m-kuhn committed Sep 7, 2018
1 parent 8ba442f commit e637fd5e6658d23075e96a518555fe204a38f460
Showing with 22 additions and 0 deletions.
  1. +11 −0 python/core/auto_generated/geometry/qgsgeometry.sip.in
  2. +11 −0 src/core/geometry/qgsgeometry.h
@@ -1482,8 +1482,19 @@ by calling `error()` on the returned geometry.

Error( const QString &m, const QgsPointXY &p );
QString what() const;
%Docstring
A human readable error message containing details about the error.
%End

QgsPointXY where() const;
%Docstring
The coordinates at which the error is located and should be visualized.
%End

bool hasWhere() const;
%Docstring
True if the location available from :py:func:`where` is valid.
%End

};

@@ -1432,8 +1432,19 @@ class CORE_EXPORT QgsGeometry
, mLocation( p )
, mHasLocation( true ) {}

/**
* A human readable error message containing details about the error.
*/
QString what() const;

/**
* The coordinates at which the error is located and should be visualized.
*/
QgsPointXY where() const;

/**
* True if the location available from \see where is valid.
*/
bool hasWhere() const;

private:

0 comments on commit e637fd5

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