`twisted.positioning.base.Coordinate(Angle)`

class documentation`twisted.positioning.base`

View Source
(View In Hierarchy)
A coordinate.

Instance Variable | angle | The value of the coordinate in decimal degrees, with the usual rules for
sign (northern and eastern hemispheres are positive, southern and western
hemispheres are negative). (type: `float` ) |

Method | __init__ | Initializes a coordinate. |

Method | hemisphere | Gets the hemisphere of this coordinate. |

Inherited from FancyEqMixin (via Angle):

Method | __eq__ | Undocumented |

Method | __ne__ | Undocumented |

Inherited from FancyEqMixin (via Angle):

Method | __eq__ | Undocumented |

Method | __ne__ | Undocumented |

angle =

The value of the coordinate in decimal degrees, with the usual rules for
sign (northern and eastern hemispheres are positive, southern and western
hemispheres are negative). (type:

`float`

)
def
__init__(self, angle, coordinateType=None):
(source)

overrides twisted.positioning.base.Angle.__init__

Initializes a coordinate.

Parameters | angle | The angle of this coordinate in decimal degrees. The hemisphere is
determined by the sign (north and east are positive). If this coordinate
describes a latitude, this value must be within -90.0 and +90.0
(exclusive). If this value describes a longitude, this value must be within
-180.0 and +180.0 (exclusive). (type: `float` ) |

coordinateType | The coordinate type. One of `Angles.LATITUDE` ,
`Angles.LONGITUDE`
or `None`
if unknown. |