Compares two 3-D vectors.
Rhino.VectorCompare (arrVector1, arrVector2)
arrVector1 |
Required. Array. The first 3-D vector to compare. |
arrVector2 |
Required. Array. The second 3-D vector to compare. |
-1 |
If arrVector1 is less than arrVector2. |
0 |
If arrVector1 is equal to arrVector2. |
1 |
If arrVector1 is greater than arrVector2. |
Null |
On error. |
Dim arrVector1, arrVector2
arrVector1 = Array(1,0,0)
arrVector2 = Array(0,1,0)
MsgBox Rhino.VectorCompare(arrVector1 , arrVector2)