|
GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Public Member Functions | |
| def | __init__ |
| def | GetUnitsList |
| Get list of units (their labels) More... | |
| def | GetUnitsKey |
| Get units key based on index. More... | |
| def | GetUnitsIndex |
| Get units index based on key. More... | |
| def units.BaseUnits.__init__ | ( | self | ) |
Definition at line 26 of file units.py.
References units.BaseUnits._units.
| def units.BaseUnits.GetUnitsIndex | ( | self, | |
| type, | |||
| key | |||
| ) |
Get units index based on key.
| type | units type ('length' or 'area') |
| key | units key, e.g. 'me' for meters |
Definition at line 66 of file units.py.
References units.BaseUnits._units.
| def units.BaseUnits.GetUnitsKey | ( | self, | |
| type, | |||
| index | |||
| ) |
Get units key based on index.
| type | units type ('length' or 'area') |
| index | units index |
Definition at line 58 of file units.py.
References units.BaseUnits._units.
| def units.BaseUnits.GetUnitsList | ( | self, | |
| type | |||
| ) |
Get list of units (their labels)
| type | units type ('length' or 'area') |
Definition at line 40 of file units.py.
References units.BaseUnits._units.