public interface NodePair
Modifier and Type | Method and Description |
---|---|
double |
distance()
The distance of the two nodes.
|
Node |
midPoint()
A node located exactly half-way between the two nodes.
|
Node |
other(Node node)
The opposite node of the pair.
|
double distance()
Node midPoint()
Node other(Node node)
node
- the pair member that shouldn't be returnednode