Skip to content

Commit

Permalink
Add doxygen note linking QgsDistanceArea to QgsEllipsoidUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 18, 2017
1 parent 5f1656b commit 05b737c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion python/core/qgsdistancearea.sip
Expand Up @@ -65,7 +65,8 @@ Constructor

bool setEllipsoid( const QString &ellipsoid );
%Docstring
Sets the ``ellipsoid`` by its acronym.
Sets the ``ellipsoid`` by its acronym. Known ellipsoid acronyms can be
retrieved using QgsEllipsoidUtils.acronyms().
Calculations will only use the ellipsoid if a valid ellipsoid has been set.
:return: true if ellipsoid was successfully set
\see ellipsoid()
Expand Down
3 changes: 2 additions & 1 deletion src/core/qgsdistancearea.h
Expand Up @@ -75,7 +75,8 @@ class CORE_EXPORT QgsDistanceArea
QgsCoordinateReferenceSystem sourceCrs() const { return mCoordTransform.sourceCrs(); }

/**
* Sets the \a ellipsoid by its acronym.
* Sets the \a ellipsoid by its acronym. Known ellipsoid acronyms can be
* retrieved using QgsEllipsoidUtils::acronyms().
* Calculations will only use the ellipsoid if a valid ellipsoid has been set.
* \returns true if ellipsoid was successfully set
* \see ellipsoid()
Expand Down

0 comments on commit 05b737c

Please sign in to comment.