- Type Parameters:
E
- the type of elements stored in this tree.
- Enclosing class:
PointTree<E>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides the coordinates of any element stored in
PointTree
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
getPositionOf
(E element, double[] dest) Provides the coordinates of the given element.
-
Method Details
-
getPositionOf
Provides the coordinates of the given element. The coordinate shall be written in the supplied array. The array length will bePointTree.getDimension()
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.
-