class MeasureBase:
Known subclasses: django.contrib.gis.measure.Area
, django.contrib.gis.measure.Distance
Undocumented
Class Method | unit_attname |
Retrieve the unit attribute name for the given unit string. For example, if the given unit string is 'metre', return 'm'. Raise an exception if an attribute cannot be found. |
Constant | ALIAS |
Undocumented |
Constant | LALIAS |
Undocumented |
Constant | STANDARD_UNIT |
Undocumented |
Constant | UNITS |
Undocumented |
Method | __add__ |
Undocumented |
Method | __bool__ |
Undocumented |
Method | __eq__ |
Undocumented |
Method | __getattr__ |
Undocumented |
Method | __hash__ |
Undocumented |
Method | __iadd__ |
Undocumented |
Method | __imul__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __isub__ |
Undocumented |
Method | __itruediv__ |
Undocumented |
Method | __lt__ |
Undocumented |
Method | __mul__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __rmul__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | __sub__ |
Undocumented |
Method | __truediv__ |
Undocumented |
Method | _get_standard |
Undocumented |
Method | _set_standard |
Undocumented |
Method | default_units |
Return the unit value and the default units specified from the given keyword arguments dictionary. |
Class Variable | standard |
Undocumented |
Instance Variable | _default_unit |
Undocumented |