Changes between Version 7 and Version 8 of ClassPoint


Ignore:
Timestamp:
Feb 27, 2009, 3:29:17 PM (16 years ago)
Author:
rwilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ClassPoint

    v7 v8  
    88== Discussion ==
    99
    10 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.
     10The Point class defines a point on the geode surface in terms of latitude and longitude.
    1111
    1212== Point Attributes ==
     
    1414|| '''degrees2radians''' || Internal constant used to convert degrees to radians. ||
    1515|| '''R''' || Internal constant holding radius of the Earth in metres. ||
    16 || '''latitude''' || The latitude of the point. ||
    17 || '''longitude''' || The longitude of the point. ||
    18 || '''coslat''' || Cosine of the point's latitude. ||
    19 || '''coslon''' || Cosine of the point's longitude. ||
    20 || '''sinlat''' || Sine of the point's latitude. ||
    21 || '''sinlon''' || Sine of the point's longitude. ||
     16|| '''latitude''' || The latitude of the Point. ||
     17|| '''longitude''' || The longitude of the Point. ||
     18|| '''coslat''' || Cosine of the Point's latitude. ||
     19|| '''coslon''' || Cosine of the Point's longitude. ||
     20|| '''sinlat''' || Sine of the Point's latitude. ||
     21|| '''sinlon''' || Sine of the Point's longitude. ||
    2222
    2323== Point Methods ==
    2424
    25 || '''!BearingTo(self, P)''' || Returns the bearing in degrees from `self` to point `P`. ||
    26 || '''!DistanceTo(self, P)!!! || Returns the distance from `self` to `P` in metres. ||
    27 ||  || ||
    28 ||  || ||
    29 ||  || ||
     25|| '''!BearingTo(self, P)''' || Returns the bearing in degrees from `self` to `P`. ||
     26|| '''!DistanceTo(self, P)''' || Returns the distance from `self` to `P` in metres. ||
     27|| '''!Dist(self, P)''' || Return a cheap and cheerful approximation of the distance from `self` to `P`.  Roughly the degress seperation. ||
     28|| '''!GCA(self, P)''' || Returns the great circle angle between `self` and `P`. ||
     29|| '''!AZ(self, P)''' || Returns the azimuth bearing from `self` to `P`. ||
    3030||  ||  ||
    3131||  ||  ||