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):

Initializes an altitude.

ParametersaltitudeThe altitude in meters. (type: float)
@property
def inFeet(self):

Gets the altitude this object represents, in feet.

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

Returns the altitude this object represents, in meters.

ReturnsThe altitude, expressed in feet. (type: float)
def __float__(self):

Returns the altitude represented by this object expressed in meters.

ReturnsThe altitude represented by this object, expressed in meters. (type: float)
def __repr__(self):

Returns a string representation of this altitude.

ReturnsThe string representation. (type: str)
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.