Interface PointTree.Locator<E>

Type Parameters:
E - the type of elements stored in this tree.
Enclosing class:
Point­Tree<E>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface PointTree.Locator<E>
Provides the coordinates of any element stored in Point­Tree.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    get­Position­Of(E element, double[] dest)
    Provides the coordinates of the given element.
  • Method Details

    • getPositionOf

      void getPositionOf(E element, double[] dest)
      Provides the coordinates of the given element. The coordinate shall be written in the supplied array. The array length will be Point­Tree​.get­Dimension() and this method shall overwrite all array values.
      Parameters:
      element - the element for which to get the coordinates.
      dest - a pre-allocated array where to store the coordinate values.