cmp

Method:

cmp - compare

Syntax:

b = v.cmp(v2);

Parameters:

v2 - vector

Returns:

b - boolean, true if vectors are identical

Description:

Compare the given vector 'v2' agains the vector in question and return true if the vectors are identical. Otherwise returns false.

Example:

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