|
GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Class for converting units. More...
Public Member Functions | |
| def | __init__ |
| def | getPageUnitsNames |
| def | getMapUnitsNames |
| def | getAllUnits |
| def | findUnit |
| Returns unit by its tr. More... | |
| def | findName |
| Returns tr. More... | |
| def | convert |
Data Fields | |
| parent | |
Class for converting units.
Definition at line 84 of file psmap/utils.py.
| def utils.UnitConversion.__init__ | ( | self, | |
parent = None |
|||
| ) |
Definition at line 86 of file psmap/utils.py.
| def utils.UnitConversion.convert | ( | self, | |
| value, | |||
fromUnit = None, |
|||
toUnit = None |
|||
| ) |
Definition at line 133 of file psmap/utils.py.
References units.BaseUnits._units, and utils.UnitConversion._units.
| def utils.UnitConversion.findName | ( | self, | |
| unit | |||
| ) |
Returns tr.
string of a unit
Definition at line 126 of file psmap/utils.py.
References units.BaseUnits._units, and utils.UnitConversion._units.
| def utils.UnitConversion.findUnit | ( | self, | |
| name | |||
| ) |
Returns unit by its tr.
string
Definition at line 119 of file psmap/utils.py.
References units.BaseUnits._units, and utils.UnitConversion._units.
| def utils.UnitConversion.getAllUnits | ( | self | ) |
Definition at line 116 of file psmap/utils.py.
| def utils.UnitConversion.getMapUnitsNames | ( | self | ) |
Definition at line 113 of file psmap/utils.py.
References utils.UnitConversion._unitsMap.
| def utils.UnitConversion.getPageUnitsNames | ( | self | ) |
Definition at line 110 of file psmap/utils.py.
References utils.UnitConversion._unitsPage.
| utils.UnitConversion.parent |
Definition at line 87 of file psmap/utils.py.
Referenced by wxdigit.VDigitError.Database(), wxdigit.VDigitError.DbExecute(), wxdigit.VDigitError.DbLink(), wxdigit.VDigitError.DeadLine(), wxdigit.VDigitError.Driver(), wxdigit.VDigitError.FeatureType(), wxdigit.VDigitError.NoMap(), wxdigit.VDigitError.ReadLine(), and wxdigit.VDigitError.WriteLine().