class documentation

class twisted.positioning.base.Altitude(FancyEqMixin): (source)

View In Hierarchy

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
@property
inMeters = (source)

Returns the altitude this object represents, in meters.

(type: float)
@property
inFeet = (source)

Gets the altitude this object represents, in feet.

(type: float)
compareAttributes = (source)

Undocumented

(type: tuple[str, ...])
def __init__(self, altitude): (source)

Initializes an altitude.

ParametersaltitudeThe altitude in meters. (type: float)
_altitude = (source)

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 20.12.1 at 2021-02-28 19:53:36.