class documentation

class Altitude(FancyEqMixin): (source)

View In Hierarchy

An altitude.
Method __float__ Returns the altitude represented by this object expressed in meters.
Method __init__ Initializes an altitude.
Method __repr__ Returns a string representation of this altitude.
Class Variable compare​Attributes Undocumented
Property in​Feet Gets the altitude this object represents, in feet.
Property in​Meters Returns the altitude this object represents, in meters.
Instance Variable _altitude Undocumented

Inherited from FancyEqMixin:

Method __eq__ Undocumented
Method __ne__ Undocumented
def __float__(self): (source)
Returns the altitude represented by this object expressed in meters.
Returns
floatThe altitude represented by this object, expressed in meters.
def __init__(self, altitude): (source)
Initializes an altitude.
Parameters
altitude:floatThe altitude in meters.
def __repr__(self): (source)
Returns a string representation of this altitude.
Returns
strThe string representation.
compareAttributes: tuple[str, ...] = (source)
@property
inFeet: float = (source)
Gets the altitude this object represents, in feet.
@property
inMeters: float = (source)
Returns the altitude this object represents, in meters.
_altitude = (source)

Undocumented