Transformation.Rotation (Point3D, Vector3D, Vector3D, Vector3D, Point3D, Vector3D, Vector3D, Vector3D) Method

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, ...

Public 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
)
This language is not supported or no code example is available.
public void Rotation( 
Point3D P0
Vector3D X0
Vector3D Y0
Vector3D Z0
Point3D P1
Vector3D X1
Vector3D Y1
Vector3D Z1 
)
This language is not supported or no code example is available.

Parameters

P0
Point3D

First frame Origin

X0
Vector3D

First frame X axis

Y0
Vector3D

First frame Y axis

Z0
Vector3D

First frame Z axis

P1
Point3D

Second frame Origin

X1
Vector3D

Second frame X axis

Y1
Vector3D

Second frame Y axis

Z1
Vector3D

Second frame Z axis

.NET Framework

Supported in: 4.8

In this article

Definition