wiki:ClassPoint

Version 5 (modified by rwilson, 15 years ago) (diff)

--

Internal Documentation/Classes


Class Point

Defined in file coordinate_transforms/point.py.

Discussion

The Point class defines a point on the geode surface in terms of latitude and longitude. The great-circle distance to other points on the surface may be computed.

Point Attributes

latitude The latitude of the point.
longitude The longitude of the point.
degrees2radians Internal constant used to convert degrees to radians.
coslat Cosine of the point's latitude.
coslon Cosine of the point's longitude.
sinlat Sine of the point's latitude.
sinlon Sine of the point's longitude.

Point Methods

BearingTo?(self, P) Returns the bearing in degrees from self to point P.

Notes


Internal Documentation/Classes