SITransformation.GetRotationXYZAngles

Description

Extracts the X, Y and Z angles (in radians) from the rotation part of this transformation inside the 3D vector vAngles.

C# Syntax

SITransformation.GetRotationXYZAngles( SIVector3 io_pXYZAngles );

Scripting Syntax

SITransformation.GetRotationXYZAngles( io_pXYZAngles );

Parameters

Parameter Type Description
io_pXYZAngles SIVector3 3D vector filled with the X, Y and Z angles (in radians) of the rotation

Examples

VBScript Example

dim t1, rotAngles
' Create transformation.
set t1 = XSIMath.CreateTransform
' Create 3D Vector.
set rotAngles = XSIMath.CreateVector3
'do something on t1
t1.GetRotationXYZAngles rotAngles

See Also

SITransformation.SetRotationFromXYZAngles SITransformation.RotX SITransformation.RotY SITransformation.RotZ SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion