return indices and distances of all nodes within v, which are in an epsilon neighborhood of w. Or, alternatively return the k nearest points.
Syntax
[ind,d] = find(v,w) % find closest point out of v to w
ind = find(v,w,epsilon) % find all points out of v in an epsilon neighborhood of w
ind = find(v,w,k) % find k nearest points out of v to wInput
| v, w | quaternion |
| epsilon_or_k | epsilon or k (see below), depending on what the user wants |
| epsilon | double |
| k | int32 |
Output
| ind | int32 array for k nearest neighbors, |
| d | double array for k nearest neighbors, |