ImageGear for .NET
Rotate Method
See Also  Example Send Feedback
ImageGear21.Formats.Vector Assembly > ImageGear.Vector Namespace > ImGearVectorRotation Class : Rotate Method




angle
Rotation angle in radians.
vectorX
X-coordinate of the rotation vector.
vectorY
Y-coordinate of the rotation vector.
vectorZ
Z-coordinate of the rotation vector.

Glossary Item Box

Performs a counterclockwise rotation of angle radians around the vector from the origin through the (x, y, z) point.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

angle
Rotation angle in radians.
vectorX
X-coordinate of the rotation vector.
vectorY
Y-coordinate of the rotation vector.
vectorZ
Z-coordinate of the rotation vector.

Example

C#Copy Code
viewport.GetViewportRotation().Rotate((float)(Math.PI / 4), 0, 0, 1);
Visual BasicCopy Code
viewport.GetViewportRotation().Rotate(Math.PI / 4, 0, 0, 1)

See Also

©2013. Accusoft Corporation. All Rights Reserved.