Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Transformation Class / Rotation Method / Rotation(Point3D,Vector3D,Vector3D,Vector3D,Point3D,Vector3D,Vector3D,Vector3D) Method
First frame Origin
First frame X axis
First frame Y axis
First frame Z axis
Second frame Origin
Second frame X axis
Second frame Y axis
Second frame Z axis

In This Topic
    Rotation(Point3D,Vector3D,Vector3D,Vector3D,Point3D,Vector3D,Vector3D,Vector3D) Method
    In This Topic

    Creates a new transformation of rotation.

    The frames should be right hand orthonormal frames (unit vectors with Z = X X Y). The resulting rotation fixes the origin (0,0,0), maps initial X to final X, initial Y to final Y, and initial Z to final Z.

    If the initial and final center are equal, then that center point is the fixed point of the rotation. If the initial and final point differ, then the resulting transform is the composition of a rotation fixing P0 and translation from P0 to P1. The resulting transformation maps P0 to P1, P0+X0 to P1+X1, ...

    Syntax
    'Declaration
     
    Public Overloads Sub Rotation( _
       ByVal P0 As Point3D, _
       ByVal X0 As Vector3D, _
       ByVal Y0 As Vector3D, _
       ByVal Z0 As Vector3D, _
       ByVal P1 As Point3D, _
       ByVal X1 As Vector3D, _
       ByVal Y1 As Vector3D, _
       ByVal Z1 As Vector3D _
    ) 
    public void Rotation( 
       Point3D P0,
       Vector3D X0,
       Vector3D Y0,
       Vector3D Z0,
       Point3D P1,
       Vector3D X1,
       Vector3D Y1,
       Vector3D Z1
    )

    Parameters

    P0
    First frame Origin
    X0
    First frame X axis
    Y0
    First frame Y axis
    Z0
    First frame Z axis
    P1
    Second frame Origin
    X1
    Second frame X axis
    Y1
    Second frame Y axis
    Z1
    Second frame Z axis
    See Also