Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Utility Class / GetRotationAxisAndAngle Method
First vector
Second vector
The rotation axis
The angle in degrees, measured in clockwise direction.

In This Topic
    GetRotationAxisAndAngle Method
    In This Topic
    Returns the rotation axis and the angle to rotate from one vector to another.
    Syntax
    'Declaration
     
    Public Shared Sub GetRotationAxisAndAngle( _
       ByVal vector1 As Vector3D, _
       ByVal vector2 As Vector3D, _
       ByRef rotAxis As Vector3D, _
       ByRef angleInDegrees As Double _
    ) 
    public static void GetRotationAxisAndAngle( 
       Vector3D vector1,
       Vector3D vector2,
       out Vector3D rotAxis,
       out double angleInDegrees
    )

    Parameters

    vector1
    First vector
    vector2
    Second vector
    rotAxis
    The rotation axis
    angleInDegrees
    The angle in degrees, measured in clockwise direction.
    See Also