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

# Class HausdorffRadians

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

Known Subclasses:
  - HausdorffEquirectangular
  - , HausdorffEuclidean
  - , HausdorffHaversine
  - , HausdorffVincentys

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

Instance Methods
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`: `__init__`, `distance` Inherited from `named._Named`: `__copy__`, `__repr__`, `__str__`, `classof`, `copy` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

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

Method Details

### directed(self, points, early=True) |
Compute only the `forward Hausdorff` distance. Parameters: `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`. Overrides: Hausdorff.directed

### symmetric(self, points, early=True) |
Compute the combined `forward and reverse Hausdorff` distance. Parameters: `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`. Overrides: Hausdorff.symmetric

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