Package pygeodesy :: Module frechet :: Class Frechet6Tuple |
[frames] | no frames]

# Class Frechet6Tuple

       object --+
                |
            tuple --+
                    |
       object --+   |
                |   |
     named._Named --+
                    |
    named._NamedTuple --+
                        |
                       Frechet6Tuple

6-Tuple `(fd, fi1, fi2, r, n, units)` with the discrete Fréchet distance `fd`, fractional indices `fi1` and `fi2`, the recursion depth `r`, the number of distances computed `n` and the name of the distance `units`.

If fractional indices `fi1` and `fi2` are type `int`, the returned `fd` is the distance between `points1`[`fi1`] and `points2`[`fi2`]. For type `float` indices, the distance is between an intermediate point along `points1`[`int(fi1)`] and `points1`[`int(fi1)+1`] respectively an intermediate point along `points2`[`int(fi2)`] and `points2`[`int(fi2)+1`].

Use function fractional to compute the point at a fractional index.

Instance Methods
Inherited from `named._NamedTuple`: `__delattr__`, `__getattr__`, `__getitem__`, `__repr__`, `__setattr__`, `__str__`, `items`, `iteritems` Inherited from `tuple`: `__add__`, `__contains__`, `__eq__`, `__ge__`, `__getattribute__`, `__getnewargs__`, `__getslice__`, `__gt__`, `__hash__`, `__iter__`, `__le__`, `__len__`, `__lt__`, `__mul__`, `__ne__`, `__rmul__`, `count`, `index` Inherited from `named._Named`: `__copy__`, `classof`, `copy`, `toStr`, `toStr2` Inherited from `object`: `__format__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__sizeof__`, `__subclasshook__`

Static Methods
Inherited from `named._NamedTuple`: `__new__`

Class Variables
| _Names_ = ``(``'``fd``'``,` `'``fi1``'``,` `'``fi2``'``,` `'``r``'``,` `'``n``'``,` `'``units``'``)``

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