Eyeshot 10 WinForms API Reference
Rotate(Double,Vector3D,Point3D) Method

WinForms Assembly > devDept.Eyeshot.Entities Namespace > Entity Class > Rotate Method : Rotate(Double,Vector3D,Point3D) Method
The angle in radians
The rotation axis' direction
The rotation axis' origin
Rotates the entity around an arbitray axis by the specified angle.
Syntax
'Declaration
 
Public Overloads Overridable Sub Rotate( _
   ByVal angleInRadians As Double, _
   ByVal axis As Vector3D, _
   ByVal center As Point3D _
) 
public virtual void Rotate( 
   double angleInRadians,
   Vector3D axis,
   Point3D center
)

Parameters

angleInRadians
The angle in radians
axis
The rotation axis' direction
center
The rotation axis' origin
Remarks
You need to call Viewport.Entities.Regen() to see the effect of this command.
See Also

Reference

Entity Class
Entity Members
Overload List