Skip to content
Permalink
Browse files
Add doxygen note linking QgsDistanceArea to QgsEllipsoidUtils
  • Loading branch information
nyalldawson committed Apr 18, 2017
1 parent 5f1656b commit 05b737c2154d9581395d02709f502ecd6fc2ea6e
Showing with 4 additions and 2 deletions.
  1. +2 −1 python/core/qgsdistancearea.sip
  2. +2 −1 src/core/qgsdistancearea.h
@@ -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()
@@ -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()

0 comments on commit 05b737c

Please sign in to comment.