public static class SquareNode.KdTreeSquareNode extends java.lang.Object implements org.ddogleg.nn.alg.KdTreeDistance<SquareNode>
| Constructor and Description |
|---|
KdTreeSquareNode() |
| Modifier and Type | Method and Description |
|---|---|
double |
distance(SquareNode a,
SquareNode b) |
int |
length() |
double |
valueAt(SquareNode point,
int index) |
public double distance(SquareNode a, SquareNode b)
distance in interface org.ddogleg.nn.alg.KdTreeDistance<SquareNode>public double valueAt(SquareNode point, int index)
valueAt in interface org.ddogleg.nn.alg.KdTreeDistance<SquareNode>public int length()
length in interface org.ddogleg.nn.alg.KdTreeDistance<SquareNode>