public class VirtualPointNode<P extends Point> extends Object implements Leaf<VirtualPointNode<P>>
Constructor and Description |
---|
VirtualPointNode(P p) |
Modifier and Type | Method and Description |
---|---|
VirtualPointNode<P>[] |
createArray(int n) |
float |
distanceTo(VirtualPointNode<P> other) |
float |
get(int k) |
int |
getNumDimensions() |
P |
getPoint() |
boolean |
isLeaf() |
public VirtualPointNode(P p)
public P getPoint()
public float distanceTo(VirtualPointNode<P> other)
distanceTo
in interface Leaf<VirtualPointNode<P extends Point>>
public float get(int k)
get
in interface Leaf<VirtualPointNode<P extends Point>>
public int getNumDimensions()
getNumDimensions
in interface Leaf<VirtualPointNode<P extends Point>>
public boolean isLeaf()
isLeaf
in interface Node<VirtualPointNode<P extends Point>>
public VirtualPointNode<P>[] createArray(int n)
createArray
in interface Leaf<VirtualPointNode<P extends Point>>
Copyright © 2015–2021 Fiji. All rights reserved.