Version 3 (modified by rwilson, 14 years ago) (diff)


Internal Documentation/Classes

Class Point

Defined in file coordinate_transforms/


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

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


Internal Documentation/Classes