return indece and distance of all nodes within a eps neighborhood
Syntax
% find the closes point
[ind,dist] = find(SO3G,ori)
% find points with a radius
[ind,dist] = find(SO3G,ori,radius)
% find cube corners
cubeInd = find(SO3G,ori,'cube')
Input
SO3G | homochoricSO3Grid |
ori | orientation |
radius | double |
Output
ind | index of the closes grid point |
cubeInd | Nx8 list of indeces of the cube corners containing ori |
dist | misorientation angle |