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

# Class HausdorffRadians

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

Known Subclasses:
  - HausdorffCosineAndoyerLambert
  - , HausdorffCosineForsytheAndoyerLambert
  - , HausdorffCosineLaw
  - , HausdorffEquirectangular
  - , HausdorffEuclidean
  - , HausdorffFlatLocal
  - , HausdorffFlatPolar
  - , HausdorffHaversine
  - , HausdorffThomas
  - , HausdorffVincentys

Hausdorff base class for distances from `LatLon` points converted from `degrees` to `radians`.

Instance Methods
__init__(self, points, seed=None, name='', units='', **wrap_adjust) New `Hausdorff...` 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. |
point(self, point) Convert `(lat, lon)` point in degrees to `(a, b)` in radians. |
Inherited from `Hausdorff`: `distance` 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 `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, seed=None, name='', units='', **wrap_adjust) (Constructor) |
New `Hausdorff...` calculator. Arguments: `points` - Initial set of points, aka the `model` or `template` (`LatLon`[], `Numpy2LatLon`[], `Tuple2LatLon`[] or `other`[]). `seed` - Random sampling seed (`any`) or `None`, `0` or `False` for no random sampling. `name` - Optional name for this interpolator (`str`). `units` - Optional, the distance units (`Unit` or `str`). `wrap_adjust` - Optionally, `wrap` and unroll longitudes, iff applicable (`bool`) and `adjust` wrapped, unrolled longitudinal delta by the cosine of the mean latitude, iff applicable. Raises: `HausdorffError` - Insufficient number of `points` or an invalid `point`, `seed` or {wrap} or `ajust` not applicable. 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.

### 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.

### point (self, point) |
Convert `(lat, lon)` point in degrees to `(a, b)` in radians. Returns: An PhiLam2Tuple`(phi, lam)`. Overrides: Hausdorff.point