orth

Method:

orth - orthogonal projection

Syntax:

v3 = v.orth(v2);

Parameters:

v2 - vector

Returns:

v3 - result vector

Description:

Orthogonal projection. The resulting 'v3' vector is perpendicular to 'v' and on the same plane as both 'v' and 'v2'.

Example:

v = new r3Vect(1, 0, 0);