orientation.find edit page

return index of all points in an epsilon neighborhood of a vector

Syntax

ind = 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 w

Input

v, w vector3d
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,

Options

antipodal include antipodal symmetry