Skip to content
Permalink
Browse files

Add missing sip bindings

  • Loading branch information
nyalldawson committed Feb 15, 2016
1 parent 5dd86aa commit 59b216be74321981ae4b17ac0bd3ebbed717f5a5
Showing with 16 additions and 0 deletions.
  1. +16 −0 python/core/qgsexpression.sip
@@ -176,6 +176,22 @@ class QgsExpression
*/
void setDistanceUnits( QGis::UnitType unit );

/** Returns the desired areal units for calculations involving geomCalculator(), eg "$area".
* @note areas are only converted when a geomCalculator() has been set
* @note added in QGIS 2.14
* @see setAreaUnits()
* @see distanceUnits()
*/
QgsUnitTypes::AreaUnit areaUnits() const;

/** Sets the desired areal units for calculations involving geomCalculator(), eg "$area".
* @note areas are only converted when a geomCalculator() has been set
* @note added in QGIS 2.14
* @see areaUnits()
* @see setDistanceUnits()
*/
void setAreaUnits( QgsUnitTypes::AreaUnit unit );

/** This function currently replaces each expression between [% and %]
* in the string with the result of its evaluation on the feature
* passed as argument.

0 comments on commit 59b216b

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