twisted.positioning.base.Angles(Names)
class documentationtwisted.positioning.base
View Source
(View In Hierarchy)
The types of angles.
Class Variable | LATITUDE | Angle representing a latitude of an object. (type: NamedConstant ) |
Class Variable | LONGITUDE | Angle representing the longitude of an object. (type: NamedConstant ) |
Class Variable | HEADING | Angle representing the heading of an object. (type: NamedConstant ) |
Class Variable | VARIATION | Angle representing a magnetic variation. (type: NamedConstant ) |
Inherited from _ConstantsContainer (via Names):
Method | __new__ | Classes representing constants containers are not intended to be instantiated. |
Class Method | lookupByName | Retrieve a constant by its name or raise a ValueError if
there is no constant associated with that name. |
Class Method | iterconstants | Iteration over a Names subclass
results in all of the constants it contains. |
Class Variable | _constantType | Specified by a _ConstantsContainer
subclass to specify the type of constants allowed by that subclass. |
Class Variable | _enumerants | A dict mapping the names of constants (eg NamedConstant
instances) found in the class definition to those instances. |
Class Method | _constantFactory | Construct the value for a new constant to add to this container. |