Utility.GetRotationAxisAndAngle Method
Returns the rotation axis and the angle to rotate from one vector to another.
Public Shared Sub GetRotationAxisAndAngle( _
ByVal vector1 As Vector3D, _
ByVal vector2 As Vector3D, _
ByRef rotAxis As Vector3D, _
ByRef angleInDegrees As Double _
)
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
vector1
-
Vector3D
First vector
-
vector2
-
Vector3D
Second vector
-
rotAxis
-
Vector3D
The rotation axis
-
angleInDegrees
-
double
The angle in degrees, measured in clockwise direction.
.NET Framework
Supported in: 4.8