Package pygeodesy :: Module hausdorff :: Class HausdorffVincentys
[frames] | no frames]

Class HausdorffVincentys

  object --+            
           |            
named._Named --+        
               |        
       Hausdorff --+    
                   |    
    HausdorffRadians --+
                       |
                      HausdorffVincentys

Compute the Hausdorff distance based on the angular distance in radians from function pygeodesy.vincentys_.


Note: See note at function pygeodesy.vincentys_.

See Also: HausdorffCosineLaw, HausdorffEquirectangular, HausdorffEuclidean, HausdorffExact, HausdorffFlatPolar and HausdorffHaversine.

Instance Methods
 
__init__(self, points, wrap=False, seed=None, name='')
New HausdorffVincentys calculator.
 
directed(self, points, early=True)
Compute only the forward Hausdorff distance.
 
symmetric(self, points, early=True)
Compute the combined forward and reverse Hausdorff distance.
 
distance(self, p1, p2)
Return the pygeodesy.vincentys_ distance in radians.

Inherited from HausdorffRadians: point

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

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

Properties

Inherited from Hausdorff: adjust, datum, seed, units, wrap

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

Inherited from object: __class__

Method Details

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

 

New HausdorffVincentys calculator.

Arguments:
  • points - Initial set of points, aka the model or template (LatLon[], Numpy2LatLon[], Tuple2LatLon[] or other[]).
  • wrap - Optionally, wrap and pygeodesy.unrollPI longitudes (bool).
  • seed - Random sampling seed (any) or None, 0 or False for no random sampling.
  • name - Optional name for this interpolator (str).
Raises:
Overrides: object.__init__

directed (self, points, early=True)

 

Compute only the forward Hausdorff distance.

Arguments:
  • points - Second set of points, aka the target (LatLon[], Numpy2LatLon[], Tuple2LatLon[] or other[]).
  • early - Enable or disable early breaking (bool).
Returns:
A Hausdorff6Tuple(hd, i, j, mn, md, units).
Raises:
Overrides: Hausdorff.directed

Note: See points note at HausdorffDistanceTo.

symmetric (self, points, early=True)

 

Compute the combined forward and reverse Hausdorff distance.

Arguments:
  • points - Second set of points, aka the target (LatLon[], Numpy2LatLon[], Tuple2LatLon[] or other[]).
  • early - Enable or disable early breaking (bool).
Returns:
A Hausdorff6Tuple(hd, i, j, mn, md, units).
Raises:
Overrides: Hausdorff.symmetric

Note: See points note at HausdorffDistanceTo.

distance (self, p1, p2)

 

Return the pygeodesy.vincentys_ distance in radians.

Overrides: Hausdorff.distance