New n-vector based point on spherical earth model.
Tools for working with points and paths on (a spherical model of) the
earth's surface using vector-based methods.
|
alongTrackDistanceTo(self,
start,
end,
radius=6371008.77141)
Returns the (signed) distance from the start to the closest point on
the great circle path defined by a start and an end point. |
|
|
|
crossTrackDistanceTo(self,
start,
end,
radius=6371008.77141)
Returns (signed) distance from this point to great circle defined by
a start and end point. |
|
|
|
destination(self,
distance,
bearing,
radius=6371008.77141,
height=None)
Locates the destination from this point after having travelled the
given distance on the given bearing. |
|
|
|
distanceTo(self,
other,
radius=6371008.77141)
Computes the distance from this to an other point. |
|
|
|
greatCircle(self,
bearing)
Computes the vector normal to great circle obtained by heading on the
given bearing from this point. |
|
|
|
greatCircleTo(self,
other)
Computes the vector normal to great circle obtained by heading from
this to an other point or on a given bearing. |
|
|
|
initialBearingTo(self,
other)
Computes the initial bearing (aka forward azimuth) from this to an
other point. |
|
|
|
bearingTo(self,
other)
Computes the initial bearing (aka forward azimuth) from this to an
other point. |
|
|
|
intermediateChordTo(self,
other,
fraction,
height=None)
Locates the point projected from the point at given fraction on a
straight line (chord) between this and an other point. |
|
|
|
intermediateTo(self,
other,
fraction,
height=None)
Locates the point at a given fraction between this and an other
point. |
|
|
|
intersection(self,
end1,
start2,
end2,
height=None)
Locates the point of intersection of two paths each defined by two
points or a start point and bearing from North. |
|
|
|
isEnclosedBy(self,
points)
Tests whether this point is enclosed by a (convex) polygon defined by
a list, sequence, set or tuple of points. |
|
|
|
isWithin(self,
point1,
point2)
Tests whether this point is within the extent of a segment joining
two other points. |
|
|
|
midpointTo(self,
other,
height=None)
Finds the midpoint between this and an other point. |
|
|
|
nearestOn(self,
point1,
point2,
height=None)
Locates the point closest on great circle segment between two points
and this point. |
|
|
|
toNvector(self)
Converts this (geodetic) point to a (spherical) n-vector (normal to
the earth's surface). |
|
|
|
triangulate(self,
bearing1,
other,
bearing2,
height=None)
Locates a point given this and an other point and bearings at this
and the other point. |
|
|
|
trilaterate(self,
distance1,
point2,
distance2,
point3,
distance3,
radius=6371008.77141,
height=None)
Locates a point at given distances from this and two other points. |
|
|
Inherited from nvector.LatLonNvectorBase :
others ,
to4xyzh
Inherited from sphericalBase.LatLonSphericalBase :
finalBearingTo ,
maxLat ,
minLat ,
parse ,
rhumbBearingTo ,
rhumbDestination ,
rhumbDistanceTo ,
rhumbMidpointTo
Inherited from bases.LatLonHeightBase :
__eq__ ,
__init__ ,
__ne__ ,
__str__ ,
bounds ,
copy ,
equals ,
isclockwise ,
points ,
to2ab ,
to3llh ,
to3xyz ,
toStr
Inherited from bases.Base :
__repr__ ,
classname ,
toStr2 ,
topsub
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|