Package pygeodesy3 :: Package geodesic :: Package exact :: Module gx :: Class GeodesicLineExact
[frames] | no frames]

Class GeodesicLineExact

        object --+                    
                 |                    
miscs.named._Named --+                
                     |                
miscs.named._NamedBase --+            
                         |            
     Base.karney._CapsBase --+        
                             |        
         gxBases._GeodesicBase --+    
                                 |    
         gxline._GeodesicLineExact --+
                                     |
                                    GeodesicLineExact

A pure Python version of Karney's C++ class GeodesicLineExact, modeled after Karney's Python class geodesicline.GeodesicLine.

Instance Methods
 
__init__(self, geodesic, lat1, lon1, azi1, caps=3968, name='')
New GeodesicLineExact instance, allowing points to be found along a geodesic starting at (lat1, lon1) with azimuth azi1.

Inherited from gxline._GeodesicLineExact: Arc, ArcPosition, Distance, Intersecant2, PlumbTo, Position, SetArc, SetDistance, __del__, toStr

Inherited from Base.karney._CapsBase: caps_

Inherited from miscs.named._NamedBase: __repr__, __str__, others, toRepr

Inherited from miscs.named._Named: __imatmul__, __matmul__, __rmatmul__, attrs, classof, copy, dup, methodname, rename

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables

Inherited from Base.karney._CapsBase: ALL, AREA, AZIMUTH, DISTANCE, DISTANCE_IN, EMPTY, GEODESICSCALE, LATITUDE, LINE_OFF, LONGITUDE, LONG_UNROLL, REDUCEDLENGTH, STANDARD

Properties

Inherited from gxline._GeodesicLineExact: a1, a13, azi0, azi0_sincos2, azi1, azi1_sincos2, equatorarc, equatorazimuth, geodesic, lat1, lon1, s13

Inherited from Base.karney._CapsBase: caps, debug

Inherited from miscs.named._Named: classname, classnaming, iteration, name, named, named2, named3, named4, sizeof

Inherited from object: __class__

Method Details

__init__ (self, geodesic, lat1, lon1, azi1, caps=3968, name='')
(Constructor)

 

New GeodesicLineExact instance, allowing points to be found along a geodesic starting at (lat1, lon1) with azimuth azi1.

Arguments:
  • geodesic - The geodesic to use (GeodesicExact).
  • lat1 - Latitude of the first point (degrees).
  • lon1 - Longitude of the first point (degrees).
  • azi1 - Azimuth at the first points (compass degrees).
  • caps - Bit-or'ed combination of Caps values specifying the capabilities the GeodesicLineExact instance should possess, i.e., which quantities can be returned by calls to GeodesicLineExact.Position and GeodesicLineExact.ArcPosition.
  • name - Optional name (str).
Raises:
  • TypeError - Invalid geodesic.
Overrides: object.__init__