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

# Class HausdorffKarney

      object --+
               |
    named._Named --+
                   |
           Hausdorff --+
                       |
        HausdorffDegrees --+
                           |
              HausdorffExact --+
                               |
                              HausdorffKarney

Compute the `Hausdorff` distance based on the angular distance in `degrees` from Karney's geographiclib Geodesic Inverse method.

See Also: HausdorffCosineAndoyerLambert, HausdorffCosineForsytheAndoyerLambert, HausdorffDistanceTo, HausdorffExact, HausdorffFlatLocal, HausdorffHubeny and HausdorffThomas.

Instance Methods
__init__(self, points, datum=None, wrap=False, seed=None, name='') New HausdorffKarney calculator. |
Inherited from `HausdorffExact`: `directed`, `distance`, `symmetric` Inherited from `Hausdorff`: `point` Inherited from `named._Named`: `_DOT_`, `__imatmul__`, `__matmul__`, `__repr__`, `__rmatmul__`, `__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, datum=None, wrap=False, seed=None, name='') (Constructor) |
New HausdorffKarney calculator. Arguments: `points` - Initial set of points, aka the `model` or `template` (`LatLon`[], `Numpy2LatLon`[], `Tuple2LatLon`[] or `other`[]). `datum` - Optional datum overriding the default `Datums.WGS84` and first `points`' datum (Datum, Ellipsoid, Ellipsoid2 or a_f2Tuple). `wrap` - Optionally, wrap and pygeodesy.unroll180 longitudes (`bool`). `seed` - Random sampling seed (`any`) or `None`, `0` or `False` for no random sampling. `name` - Optional name for this interpolator (`str`). Raises: `HausdorffError` - Insufficient number of `points` or invalid `seed`. `ImportError` - Package geographiclib missing. `TypeError` - Invalid `datum`. Overrides: object.__init__