intersections2 (center1,
radius1,
center2,
radius2,
height=None,
wrap=True,
equidistant=None,
tol=0.001,
LatLon=<class 'pygeodesy.ellipsoidalKarney.LatLon'>,
**LatLon_kwds)
|
|
Iteratively compute the intersection points of two circles each
defined by an (ellipsoidal) center point and a radius.
- Arguments:
center1 - Center of the first circle (LatLon).
radius1 - Radius of the first circle (meter ).
center2 - Center of the second circle (LatLon).
radius2 - Radius of the second circle (meter ).
height - Optional height for the intersection points, overriding the
"radical height" at the "radical line"
between both centers (meter ) or None .
wrap - Wrap and unroll longitudes (bool ).
equidistant - An azimuthal equidistant projection class (Equidistant or equidistant) or None for EquidistantKarney.
tol - Convergence tolerance (meter ).
LatLon - Optional class to return the intersection points (LatLon) or None .
LatLon_kwds - Optional, additional LatLon keyword
arguments, ignored if LatLon=None .
- Returns:
- 2-Tuple of the intersection points, each a
LatLon instance or LatLon4Tuple(lat, lon, height,
datum) if LatLon is None .
For abutting circles, the intersection points are the same
instance.
- Raises:
ImportError - Package geographiclib not installed or not found.
IntersectionError - Concentric, antipodal, invalid or non-intersecting circles or no
convergence for the tol .
TypeError - Invalid or non-ellipsoidal center1 or
center2 or invalid
equidistant .
UnitError - Invalid radius1 , radius2 or
height .
|