t.p.b.Altitude(object, FancyEqMixin) : class documentation

Part of twisted.positioning.base View Source View In Hierarchy

An altitude.
Instance Variable inMeters 0 The altitude represented by this object, in meters. This attribute is read-only. (type: float)
Instance Variable inFeet 0 As above, but expressed in feet. (type: float)
Method __init__ Initializes an altitude.
Method inFeet Gets the altitude this object represents, in feet.
Method inMeters Returns the altitude this object represents, in meters.
Method __float__ Returns the altitude represented by this object expressed in meters.
Method __repr__ Returns a string representation of this altitude.

Inherited from FancyEqMixin:

Method __eq__ Undocumented
Method __ne__ Undocumented
inMeters 0 =
The altitude represented by this object, in meters. This attribute is read-only. (type: float)
inFeet 0 =
As above, but expressed in feet. (type: float)
def __init__(self, altitude): (source)
Initializes an altitude.
ParametersaltitudeThe altitude in meters. (type: float)
@property
def inFeet(self): (source)
Gets the altitude this object represents, in feet.
ReturnsThe altitude, expressed in feet. (type: float)
@property
def inMeters(self): (source)
Returns the altitude this object represents, in meters.
ReturnsThe altitude, expressed in feet. (type: float)
def __float__(self): (source)
Returns the altitude represented by this object expressed in meters.
ReturnsThe altitude represented by this object, expressed in meters. (type: float)
def __repr__(self): (source)
Returns a string representation of this altitude.
ReturnsThe string representation. (type: str)
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.