HE_Mesh
5.1.2
|
Classes | |
class | QueryResult |
class | WB_KDEntry |
class | WB_KDNode |
Public Member Functions | |
WB_KDTree2D () | |
WB_KDTree2D (final int binsize) | |
List< WB_AABB2D > | getLeafBounds () |
List< WB_AABB2D > | getAllBounds () |
List< WB_AABB2D > | getLeafRegions () |
List< WB_AABB2D > | getAllRegions () |
V | add (final T coord, final V val) |
WB_KDEntry< T, V >[] | getRange (final WB_AABB2D aabb) |
WB_KDEntry< T, V >[] | getRange (final WB_Coord center, final double radius) |
WB_KDEntry< T, V >[] | getRange (final WB_Coord center, final double lower, final double upper) |
WB_KDEntry< T, V >[] | getNearestNeighbors (final WB_Coord coord, final int num) |
WB_KDEntry< T, V > | getNearestNeighbor (final WB_Coord coord) |
WB_KDEntry< T, V > | getNearestNeighbor (final double x, final double y) |
Private Attributes | |
final int | _dim |
final int | _maximumBinSize |
final WB_KDNode< T, V > | root |
Class WB_KDTree.
<T> | generic type |
<V> | value type |
wblut.geom.WB_KDTree2D< T extends WB_Coord, V >.WB_KDTree2D | ( | ) |
wblut.geom.WB_KDTree2D< T extends WB_Coord, V >.WB_KDTree2D | ( | final int | binsize | ) |
binsize |
V wblut.geom.WB_KDTree2D< T extends WB_Coord, V >.add | ( | final T | coord, |
final V | val | ||
) |
coord | |
val |
List<WB_AABB2D> wblut.geom.WB_KDTree2D< T extends WB_Coord, V >.getAllBounds | ( | ) |
List<WB_AABB2D> wblut.geom.WB_KDTree2D< T extends WB_Coord, V >.getAllRegions | ( | ) |
Get all regions.
List<WB_AABB2D> wblut.geom.WB_KDTree2D< T extends WB_Coord, V >.getLeafBounds | ( | ) |
List<WB_AABB2D> wblut.geom.WB_KDTree2D< T extends WB_Coord, V >.getLeafRegions | ( | ) |
Get the leaf regions.
WB_KDEntry<T, V> wblut.geom.WB_KDTree2D< T extends WB_Coord, V >.getNearestNeighbor | ( | final WB_Coord | coord | ) |
coord |
WB_KDEntry<T, V> wblut.geom.WB_KDTree2D< T extends WB_Coord, V >.getNearestNeighbor | ( | final double | x, |
final double | y | ||
) |
x | |
y |
WB_KDEntry<T, V> [] wblut.geom.WB_KDTree2D< T extends WB_Coord, V >.getNearestNeighbors | ( | final WB_Coord | coord, |
final int | num | ||
) |
coord | |
num |
WB_KDEntry<T, V> [] wblut.geom.WB_KDTree2D< T extends WB_Coord, V >.getRange | ( | final WB_AABB2D | aabb | ) |
aabb |
WB_KDEntry<T, V> [] wblut.geom.WB_KDTree2D< T extends WB_Coord, V >.getRange | ( | final WB_Coord | center, |
final double | radius | ||
) |
center | |
radius |
WB_KDEntry<T, V> [] wblut.geom.WB_KDTree2D< T extends WB_Coord, V >.getRange | ( | final WB_Coord | center, |
final double | lower, | ||
final double | upper | ||
) |
center | |
lower | |
upper |
|
private |
dim.
|
private |
maximum bin size.
|
private |
root.