Rotates a 3-D vector.
Rhino.VectorRotate (arrVector, dblAngle, arrAxis)
|
arrVector |
Required. Array. The 3-D vector. |
|
dblAngle |
Required. Number. The rotation angle in degrees. |
|
arrAxis |
Required. Array. A 3-D vector defining the axis of rotation. |
|
Array |
The resulting 3-D vector if successful. |
|
Null |
On error. |
Dim arrVector
arrVector = Rhino.VectorRotate(Array(1,0,0), 90.0, Array(0,0,1))
Rhino.Print Rhino.Pt2Str(arrVector)