Pure Python implementation of geodetic (lat-/longitude) methods using
spherical trigonometry, transcoded from JavaScript originals by (C)
Chris Veness 2011-2024 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 two oe more vectors. |
|
|
|
areaOf(points,
radius=6371008.771415,
wrap=False)
Calculate the area of a (spherical) polygon or composite (with the
pointsjoined by great circle arcs). |
|
|
|
intersecant2(center,
circle,
point,
other,
**radius_exact_height_wrap)
Compute the intersections of a circle and a (great circle) line given
as two points or as a point and bearing. |
|
|
|
intersection(start1,
end1,
start2,
end2,
height=None,
wrap=False,
LatLon=<class 'pygeodesy.sphericalTrigonometry.LatLon'>,
**LatLon_kwds)
Compute the intersection point of two lines, each defined by two
points or a start point and bearing from North. |
|
|
|
intersections2(center1,
rad1,
center2,
rad2,
radius=6371008.771415,
eps=0.0,
height=None,
wrap=False,
LatLon=<class 'pygeodesy.sphericalTrigonometry.LatLon'>,
**LatLon_kwds)
Compute the intersection points of two circles each defined by a
center point and a radius. |
|
|
|
|
|
meanOf(points,
height=None,
wrap=False,
LatLon=<class 'pygeodesy.sphericalTrigonometry.LatLon'>,
**LatLon_kwds)
Compute the geographic mean of several points. |
|
|
|
|
|
nearestOn3(point,
points,
closed=False,
radius=6371008.771415,
wrap=False,
adjust=True,
limit=9,
**LatLon_and_kwds)
Locate the point on a path or polygon closest to a reference point. |
|
|
|
perimeterOf(points,
closed=False,
radius=6371008.771415,
wrap=True)
Compute the perimeter of a (spherical) polygon or composite (with
great circle arcs joining the points). |
|
|
|
triangle7(latA,
lonA,
latB,
lonB,
latC,
lonC,
radius=6371008.771415,
excess=<function excessAbc_ at 0x7f98a09e5ad0>,
wrap=False)
Compute the angles, sides, and area of a (spherical) triangle. |
|
|
|
triangle8_(phiA,
lamA,
phiB,
lamB,
phiC,
lamC,
excess=<function excessAbc_ at 0x7f98a09e5ad0>,
wrap=False)
Compute the angles, sides, spherical deficit and spherical
excess of a (spherical) triangle. |
|
|