public class KDTree2D extends Object
Modifier and Type | Class and Description |
---|---|
class |
KDTree2D.Node |
Modifier and Type | Method and Description |
---|---|
void |
add(Point2D point) |
boolean |
contains(Point2D value) |
KDTree2D.Node |
getNode(Point2D point) |
KDTree2D.Node |
getRoot() |
static void |
main(String[] args)
Gives a small example of use.
|
Point2D |
nearestNeighbor(Point2D point) |
Collection<Point2D> |
rangeSearch(Box2D range) |
public KDTree2D.Node getRoot()
public boolean contains(Point2D value)
public KDTree2D.Node getNode(Point2D point)
public void add(Point2D point)
public Collection<Point2D> rangeSearch(Box2D range)
public static void main(String[] args)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.