public static class NIVision.NearestNeighborOptions extends NIVision.DisposedStruct
| Modifier and Type | Field and Description |
|---|---|
int |
k |
NIVision.NearestNeighborMethod |
method |
NIVision.NearestNeighborMetric |
metric |
backing| Modifier | Constructor and Description |
|---|---|
|
NearestNeighborOptions() |
protected |
NearestNeighborOptions(java.nio.ByteBuffer backing,
int offset) |
protected |
NearestNeighborOptions(long nativeObj,
boolean owned) |
|
NearestNeighborOptions(NIVision.NearestNeighborMethod method,
NIVision.NearestNeighborMetric metric,
int k) |
| Modifier and Type | Method and Description |
|---|---|
private void |
init() |
void |
read() |
protected void |
setBuffer(java.nio.ByteBuffer backing,
int offset) |
int |
size() |
void |
write() |
finalize, free, getAddress, setBufferpublic NIVision.NearestNeighborMethod method
public NIVision.NearestNeighborMetric metric
public int k
public NearestNeighborOptions()
public NearestNeighborOptions(NIVision.NearestNeighborMethod method, NIVision.NearestNeighborMetric metric, int k)
protected NearestNeighborOptions(java.nio.ByteBuffer backing,
int offset)
protected NearestNeighborOptions(long nativeObj,
boolean owned)
private void init()
protected void setBuffer(java.nio.ByteBuffer backing,
int offset)
public void read()
read in class NIVision.DisposedStructpublic void write()
write in class NIVision.DisposedStructpublic int size()
size in class NIVision.DisposedStruct