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

# Class HausdorffHubeny

      object --+
               |
    named._Named --+
                   |
           Hausdorff --+
                       |
        HausdorffRadians --+
                           |
          HausdorffFlatLocal --+
                               |
                              HausdorffHubeny

Compute the `Hausdorff` distance based on the angular distance in `radians squared` like function flatLocal_/hubeny_.

See Also: HausdorffCosineAndoyerLambert, HausdorffCosineForsytheAndoyerLambert, HausdorffDistanceTo, HausdorffHubeny, HausdorffThomas and HausdorffKarney.

Instance Methods
__init__(self, points, datum=None, wrap=False, seed=None, name=`'````'`) New HausdorffFlatLocal/HausdorffHubeny calculator. |
directed(self, points, early=True) Compute only the `forward Hausdorff` distance. |
distance(self, p1, p2) Return the flatLocal_/hubeny_ distance in `radians squared`. |
symmetric(self, points, early=True) Compute the combined `forward and reverse Hausdorff` distance. |
Inherited from `HausdorffRadians`: `point` Inherited from `named._Named`: `__repr__`, `__str__`, `_dot_`, `attrs`, `classof`, `copy`, `toRepr`, `toStr`, `toStr2` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Class Variables
| __doc__ = `HausdorffFlatLocal.__doc__`
Inherited from `HausdorffFlatLocal`: `_hubeny2_`

Properties
Inherited from `Hausdorff`: `adjust`, `datum`, `seed`, `units`, `wrap` Inherited from `named._Named`: `classname`, `classnaming`, `name`, `named`, `named2` Inherited from `object`: `__class__`

Method Details

### __init__ (self, points, datum=None, wrap=False, seed=None, name=`'````'`) (Constructor) |
New HausdorffFlatLocal/HausdorffHubeny 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). `wrap` - Optionally, wrap and 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: `HausdorffError` - Insufficient number of `points` or invalid `seed`. `TypeError` - Invalid `datum`. 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: `HausdorffError` - Insufficient number of `points` or an invalid `point`. Overrides: Hausdorff.directed Note: See `points` note at HausdorffDistanceTo.

### distance (self, p1, p2) |
Return the flatLocal_/hubeny_ distance in `radians squared`. Overrides: Hausdorff.distance

### 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: `HausdorffError` - Insufficient number of `points` or an invalid `point`. Overrides: Hausdorff.symmetric Note: See `points` note at HausdorffDistanceTo.