public static class opencv_core.KDTree.Node extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
opencv_core.KDTree.Node() |
opencv_core.KDTree.Node(int size) |
opencv_core.KDTree.Node(int _idx,
int _left,
int _right,
float _boundary) |
opencv_core.KDTree.Node(Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
float |
boundary()
go to the left if query_vec[node.idx]<=node.boundary, otherwise go to the right
|
opencv_core.KDTree.Node |
boundary(float boundary) |
int |
idx()
split dimension; >=0 for nodes (dim), < 0 for leaves (index of the point)
|
opencv_core.KDTree.Node |
idx(int idx) |
int |
left()
node indices of the left and the right branches
|
opencv_core.KDTree.Node |
left(int left) |
opencv_core.KDTree.Node |
position(int position) |
int |
right() |
opencv_core.KDTree.Node |
right(int right) |
address, asBuffer, asByteBuffer, capacity, capacity, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, withDeallocator, zeropublic opencv_core.KDTree.Node(Pointer p)
public opencv_core.KDTree.Node(int size)
public opencv_core.KDTree.Node()
public opencv_core.KDTree.Node(int _idx,
int _left,
int _right,
float _boundary)
public opencv_core.KDTree.Node position(int position)
public int idx()
public opencv_core.KDTree.Node idx(int idx)
public int left()
public opencv_core.KDTree.Node left(int left)
public int right()
public opencv_core.KDTree.Node right(int right)
public float boundary()
public opencv_core.KDTree.Node boundary(float boundary)
Copyright © 2014. All Rights Reserved.