class twisted.positioning.base.Altitude(FancyEqMixin): (source)
An altitude.
Property | inMeters | Returns the altitude this object represents, in meters. |
Property | inFeet | Gets the altitude this object represents, in feet. |
Class Variable | compareAttributes | Undocumented |
Method | __init__ | Initializes an altitude. |
Method | __float__ | Returns the altitude represented by this object expressed in meters. |
Method | __repr__ | Returns a string representation of this altitude. |
Instance Variable | _altitude | Undocumented |
Inherited from FancyEqMixin:
Method | __eq__ | Undocumented |
Method | __ne__ | Undocumented |
Initializes an altitude.
Parameters | altitude | The altitude in meters. (type: float ) |
Returns the altitude represented by this object expressed in meters.
Returns | The altitude represented by this object, expressed in meters. (type: float ) |
Returns a string representation of this altitude.
Returns | The string representation. (type: str ) |