Pure Python implementation of geodetic (lat-/longitude) methods using
spherical trigonometry, transcribed from JavaScript originals by (C)
Chris Veness 2011-2016 published under the same MIT Licence**, see Latitude/Longitude.
|
ispolar(points,
wrap=False)
Check whether a polygon encloses a pole. |
|
|
|
sumOf(vectors,
Vector=<class 'pygeodesy.vector3d.Vector3d'>,
**Vector_kwds)
Compute the vectorial sum of several vectors. |
|
|
|
areaOf(points,
radius=6371008.77141,
wrap=True)
Calculate the area of a (spherical) polygon (with great circle arcs
joining the points). |
|
|
|
intersection(start1,
end1,
start2,
end2,
height=None,
wrap=False,
LatLon=<class 'pygeodesy.sphericalTrigonometry.LatLon'>,
**LatLon_kwds)
Compute the intersection point of two paths both defined by two
points or a start point and bearing from North. |
|
|
|
intersections2(center1,
rad1,
center2,
rad2,
radius=6371008.77141,
height=None,
wrap=True,
LatLon=<class 'pygeodesy.sphericalTrigonometry.LatLon'>,
**LatLon_kwds)
Compute the intersection points of two circles each defined by a
center point and a radius. |
|
|
|
isPoleEnclosedBy(points,
wrap=False)
DEPRECATED, use function ispolar. |
|
|
|
meanOf(points,
height=None,
LatLon=<class 'pygeodesy.sphericalTrigonometry.LatLon'>,
**LatLon_kwds)
Compute the geographic mean of several points. |
|
|
|
|
|
nearestOn3(point,
points,
closed=False,
radius=6371008.77141,
LatLon=<class 'pygeodesy.sphericalTrigonometry.LatLon'>,
**options)
Locate the point on a polygon closest to an other, reference point. |
|
|
|
perimeterOf(points,
closed=False,
radius=6371008.77141,
wrap=True)
Compute the perimeter of a (spherical) polygon (with great circle
arcs joining the points). |
|
|