t.p.b.Speed(_BaseSpeed) : class documentation

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

The speed (rate of movement) of a mobile object.
Method __init__ Initializes a Speed object.

Inherited from _BaseSpeed:

Method inMetersPerSecond The speed that this object represents, expressed in meters per second. This attribute is immutable.
Method inKnots Returns the speed represented by this object, expressed in knots. This attribute is immutable.
Method __float__ Returns the speed represented by this object expressed in meters per second.
Method __repr__ Returns a string representation of this speed object.

Inherited from FancyEqMixin (via _BaseSpeed):

Method __eq__ Undocumented
Method __ne__ Undocumented
def __init__(self, speed): (source)
Initializes a Speed object.
ParametersspeedThe speed that this object represents, expressed in meters per second. (type: float)
RaisesValueErrorRaised if speed is negative.
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.