distanceTo
Returns the tree distance to the given horizon element.
Return
Tree distance to the given horizon element.
Parameters
element
Horizon element.
Returns the tree distance to the given horizon element.
Tree distance to the given horizon element.
Horizon element.