Package pygeodesy3 :: Package rhumb :: Module ekx :: Class Rhumb
[frames] | no frames]

Class Rhumb

        object --+                
                 |                
miscs.named._Named --+            
                     |            
miscs.named._NamedBase --+        
                         |        
     Base.karney._CapsBase --+    
                             |    
               Bases.RhumbBase --+
                                 |
                                Rhumb

Class to solve the direct and inverse rhumb problems, based on elliptic functions or Krüger series expansion


See Also: The Detailed Description of Karney's C++ Rhumb Class.

Instance Methods
 
__init__(self, a_earth=Datum(name='WGS84', ellipsoid=Ellipsoids.WGS84, transform=Tran..., f=None, exact=True, name='', **RA_TMorder)
New Rhumb.

Inherited from Bases.RhumbBase: ArcDirect, Direct, Direct8, DirectLine, Inverse, Inverse8, InverseLine, Line, 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
  RAorder
Get the Rhumb Area order (int, 4, 5, 6, 7 or 8).

Inherited from Bases.RhumbBase: TMorder, a, b, datum, ellipsoid, equatoradius, exact, f, f_max, flattening, polaradius

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, a_earth=Datum(name='WGS84', ellipsoid=Ellipsoids.WGS84, transform=Tran..., f=None, exact=True, name='', **RA_TMorder)
(Constructor)

 

New Rhumb.

Arguments:
  • a_earth - This rhumb's earth model (Datum, Ellipsoid, Ellipsoid2, a_f2Tuple, 2-tuple (a, f)) or the (equatorial) radius (meter, conventionally).
  • f - The ellipsoid's flattening (scalar), iff a_earth is scalar, ignored otherwise.
  • exact - If True, use an addition theorem for elliptic integrals to compute Divided differences, otherwise use the Krüger series expansion (bool or None), see also properties exact and TMorder.
  • name - Optional name (str).
  • RA_TMorder - Optional keyword arguments RAorder and TMorder to set the respective order, see properties RAorder and TMorder and method orders.
Raises:
Overrides: object.__init__

Property Details

RAorder

Get the Rhumb Area order (int, 4, 5, 6, 7 or 8).

Get method:
RAorder(self) - Get the Rhumb Area order (int, 4, 5, 6, 7 or 8).
Set method:
RAorder(self, order) - Set the Rhumb Area order (int, 4, 5, 6, 7 or 8).
Delete Method:
_fdel(inst) - Zap the cached/memoized property value.