Using the formulae devised by Thaddeus Vincenty (1975) with an
ellipsoidal model of the earth to compute the geodesic distance and
bearings between two given points or the destination point given an start
point and initial bearing.
Set the earth model to be used with the keyword argument datum. The
default is Datums.WGS84, which is the most globally accurate. For other
models, see the Datums in module datum.
Note: This implementation of the Vincenty methods may not converge for
some valid points, raising a VincentyError. In that case, a result may
be obtained by increasing the epsilon and/or the iteration limit, see
properties LatLon.epsilon and LatLon.iterations.
|
copy(self)
Copy this point. |
|
|
|
destination(self,
distance,
bearing,
height=None)
Compute the destination point after having travelled for the given
distance from this point along a geodesic given by an initial
bearing, using Vincenty's direct method. |
|
|
|
destination2(self,
distance,
bearing,
height=None)
Compute the destination point and the final bearing (reverse azimuth)
after having travelled for the given distance from this point along a
geodesic given by an initial bearing, using Vincenty's direct method. |
|
|
|
distanceTo(self,
other)
Compute the distance between this and an other point along a
geodesic, using Vincenty's inverse method. |
|
|
|
distanceTo3(self,
other)
Compute the distance and the initial and final bearing along a
geodesic between this and an other point, using Vincenty's inverse
method. |
|
|
|
finalBearingOn(self,
distance,
bearing)
Compute the final bearing (reverse azimuth) after having travelled
for the given distance along a geodesic given by an initial bearing
from this point, using Vincenty's direct method. |
|
|
|
finalBearingTo(self,
other)
Compute the final bearing (reverse azimuth) after having travelled
along a geodesic from this point to an other point, using Vincenty's
inverse method. |
|
|
|
initialBearingTo(self,
other)
Compute the initial bearing (forward azimuth) to travel along a
geodesic from this point to an other point, using Vincenty's inverse
method. |
|
|
|
bearingTo(self,
other)
Compute the initial bearing (forward azimuth) to travel along a
geodesic from this point to an other point, using Vincenty's inverse
method. |
|
|
|
toCartesian(self)
Convert this (geodetic) point to (geocentric) x/y/z Cartesian
coordinates. |
|
|
Inherited from ellipsoidalBase.LatLonEllipsoidalBase :
__init__ ,
convertDatum ,
ellipsoid ,
ellipsoids ,
parse ,
to3xyz ,
toOsgr ,
toUtm
Inherited from bases.LatLonHeightBase :
__eq__ ,
__ne__ ,
__str__ ,
bounds ,
equals ,
points ,
to2ab ,
to3llh ,
toStr
Inherited from bases.Base :
__repr__ ,
classname ,
others ,
toStr2 ,
topsub
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|