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

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

Parameters

angleInRadians
The angle in radians
axisStart
The rotation axis' start point
axisEnd
The rotation axis' end point
Remarks
You need to call Viewport.Entities.Regen() to see the effect of this command.
See Also

Reference

Entity Class
Entity Members
Overload List