I have three points A, B, C Now I have built the vector A-B. What I need now, is a vector from C which is orthogonal to the vector A-B. The Vector (vecX) has to point to from C to the vector A-B. What I did this:
%vecX = abs(cross(A – B, C – A))./(A – B);
But I thiks this givs me onle the disctence from C to A-B and not the direction. Do you have any ideas how I can solve the problem? Thank you!
Best Answer