An altitude.

Method inMeters Returns the altitude this object represents, in meters.
Method 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
@property
def inMeters(self): (source)

Returns the altitude this object represents, in meters.

ReturnsThe altitude, expressed in feet. (type: float)
@property
def inFeet(self): (source)

Gets the altitude this object represents, in feet.

ReturnsThe altitude, expressed in feet. (type: float)
compareAttributes =
Undocumented
(type: Tuple[str, ...])
def __init__(self, altitude): (source)

Initializes an altitude.

ParametersaltitudeThe altitude in meters. (type: float)
_altitude =
Undocumented
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 2020-03-20 23:54:06.