nearest abstract method

V nearest(
  1. V object, {
  2. TreeSearch nearestOption = TreeSearch.NEAREST,
})

Search the tree for the matching object or the nearestOption if missing. See TreeSearch.

Implementation

V nearest(V object, {TreeSearch nearestOption = TreeSearch.NEAREST});