I have
X = (Yt.*sin(W))-(Xt.*cos(W));
Y = (Yt.*cos(W))+(Xt.*sin(W)); % which give the coordinates X and Y.
X_inv = R.*sin(B_involute);
Y_inv = R.*cos(B_involute); % which give the coordinates X_inv and Y_inv.
I need to find the nearest two points between X
, Y
and X_inv
, Y_inv
.
lots of thanks from now.