Package pygeodesy :: Module geodesici
[frames] | no frames]

Module geodesici

Class Intersector, a pure Python version of parts of Karney's C++ class Intersect to intersect geodesic lines.

Only C++ member functions All, Closest and All have been transcoded into Python as methods Intersector.All, Intersector.Closest and Intersector.Next producing 4-item XDists.

Adjacent methods Intersector.All5, Intersector.Closest5, Intersector.Next5 and Intersector.Next5s return or yield Intersector5Tuples with the lat-, longitude, azimuth of each intersection as a Position GDict on each geodesic line.

For more details, see the C++ GeographicLib documentation, Charles F.F. Karney's paper Geodesics intersections and S. Baselga Moreno & J.C. Martinez-Llario's Intersection and point-to-line solutions for geodesics on the ellipsoid.


Version: 24.06.27

Classes
  XDist
4-Item result from Intersector.All, Intersector.Closest and Intersector.Next with the intersection offsets sA, sB and sX0 in meter and the coincidence indicator c, an int, +1 for parallel, -1 for anti-parallel, 0 otherwise.
  Intersector
Finder of intersections between two goedesic lines, each an instance of GeodesicLineExact, wrapped GeodesicLine or GeodesicLineSolve.
  Intersector5Tuple
5-Tuple (A, B, sAB, aAB, c) with A and B the Position of the intersection on each geodesic line, the distance sAB between A and B in meter, angular distance aAB in degrees and coincidence indicator c (int), see XDist.
Variables
  __all__ = _ALL_LAZY.geodesici