Package pygeodesy :: Module frechet :: Class FrechetCosineForsytheAndoyerLambert
[frames] | no frames]

Class FrechetCosineForsytheAndoyerLambert

  object --+            
           |            
named._Named --+        
               |        
         Frechet --+    
                   |    
      FrechetRadians --+
                       |
                      FrechetCosineForsytheAndoyerLambert

Compute the Frechet distance based on the angular distance in radians from function cosineForsytheAndoyerLambert_.


See Also: FrechetCosineAndoyerLambert, FrechetDistanceTo, FrechetExact, FrechetFlatLocal, FrechetHubeny, FrechetThomas and FrechetKarney.

Instance Methods
 
__init__(self, points, datum=None, wrap=False, fraction=None, name='')
New FrechetCosineForsytheAndoyerLambert calculator/interpolator.
 
discrete(self, points, fraction=None)
Compute the forward, discrete Fréchet distance.
 
distance(self, p1, p2)
Return the cosineForsytheAndoyerLambert_ distance in radians.

Inherited from FrechetRadians: point

Inherited from Frechet: points_, points_fraction

Inherited from named._Named: _DOT_, __repr__, __str__, attrs, classof, copy, rename, toRepr, toStr, toStr2

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

Properties

Inherited from Frechet: adjust, datum, fraction, units, wrap

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

Inherited from object: __class__

Method Details

__init__ (self, points, datum=None, wrap=False, fraction=None, name='')
(Constructor)

 

New FrechetCosineForsytheAndoyerLambert calculator/interpolator.

Arguments:
  • points - First set of points (LatLon[], Numpy2LatLon[], Tuple2LatLon[] or other[]).
  • datum - Optional datum overriding the default Datums.WGS84 and first points' datum (Datum).
  • wrap - Wrap and unrollPI longitudes (bool)
  • fraction - Index fraction (float in EPS..EPS1) to interpolate intermediate points or use None, 0 or 1 for no intermediate points and no fractional indices.
  • name - Optional calculator/interpolator name (str).
Raises:
  • FrechetError - Insufficient number of points or invalid fraction.
  • TypeError - Invalid datum.
Overrides: object.__init__

discrete (self, points, fraction=None)

 

Compute the forward, discrete Fréchet distance.

Arguments:
  • points - Second set of points (LatLon[], Numpy2LatLon[], Tuple2LatLon[] or other[]).
  • fraction - Index fraction (float in EPS..EPS1) to interpolate intermediate points or use None, 0 or 1 for no intermediate points and no fractional indices.
Returns:
A Frechet6Tuple(fd, fi1, fi2, r, n, units).
Raises:
Overrides: Frechet.discrete

distance (self, p1, p2)

 

Return the cosineForsytheAndoyerLambert_ distance in radians.

Overrides: Frechet.distance