Package pygeodesy :: Module rhumbx :: Class RhumbLine
[frames] | no frames]

Class RhumbLine

  object --+                
           |                
named._Named --+            
               |            
named._NamedBase --+        
                   |        
    karney._CapsBase --+    
                       |    
              _RhumbLine --+
                           |
                          RhumbLine

Compute one or several points on a single rhumb line.

Class RhumbLine facilitates the determination of points on a single rhumb line. The starting point (lat1, lon1) and the azimuth azi12 are specified once.

Method RhumbLine.Position returns the location of an other point and optionally the distance s12 along the corresponding area S12 under the rhumb line.

Method RhumbLine.intersection2 finds the intersection between two rhumb lines.

Method RhumbLine.nearestOn4 computes the nearest point on and its distance to a rhumb line.

Instance Methods
 
__init__(self, rhumb, lat1=0, lon1=0, azi12=None, caps=0, name='')
New RhumbLine.

Inherited from _RhumbLine: Position, __del__, distance2, intersection2, nearestOn4, toStr

Inherited from karney._CapsBase: caps_

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

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

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

Class Variables

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

Properties

Inherited from _RhumbLine: RAorder, TMorder, azi12, ellipsoid, exact, lat1, latlon1, lon1, rhumb, xTM

Inherited from karney._CapsBase: caps, debug

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

Inherited from object: __class__

Method Details

__init__ (self, rhumb, lat1=0, lon1=0, azi12=None, caps=0, name='')
(Constructor)

 

New RhumbLine.

Arguments:
  • rhumb - The rhumb reference (Rhumb).
  • lat1 - Latitude of the start point (degrees90).
  • lon1 - Longitude of the start point (degrees180).
  • azi12 - Azimuth of this rhumb line (compass degrees).
  • caps - Bit-or'ed combination of Caps values specifying the capabilities. Include Caps.LINE_OFF if updates to rhumb should not be reflected in this rhumb line.
  • name - Optional name (str).
Overrides: object.__init__