Rotates a plane.
Rhino.RotatePlane (arrPlane, dblAngle, arrAxis)
arrPlane |
Required. Array. The plane. The elements of a plane array are as follows:
|
||||||||||
dblAngle |
Required. Number. The rotation angle in degrees. |
||||||||||
arrAxis |
Required. Array. A non-zero 3-D vector identifying the axis of rotation. |
Array |
The plane if successful. The elements of a plane array are as follows:
|
||||||||||
Null |
If not successful, or on error. |
Dim arrPlane, arrRotated
arrPlane = ViewCPlane
arrRotated = RotatePlane(arrPlane, 45.0, arrPlane(1))
Rhino.ViewCPlane , arrRotated