Navigation: Scripting Reference Manual > Functions & Subroutines > RotateXYZ

 

RotateXYZ

 

Contact Us: fredsupport@photonengr.com

 

Description

Appends an ordered XYZ-rotation operation to the selected entity in the specified coordinate system (non Euler). The rotation is sequential; first about the local x-axis, then about the local y-axis, and finally about the local z-axis. All rotations are done about axes passing through the local origin.

 

Syntax

RotateXYZ n, coord, Xang, Yang, Zang

 

Parameters

n As Long

Node number of the entity.

 

coord As Long

Node number of the coordinate system under which this operation is applied.

 

Xang As Double

X-Angle of rotation in degrees.

 

Yang As Double

Y-Angle of rotation in degrees.

 

Zang As Double

Z-Angle of rotation in degrees.

 

See Also

RotateX

RotateIthX

RotateY

RotateIthY

RotateZ

RotateIthZ

RotateIthXYZ

RotateZYX

RotateIthZYX

RotateAxis

RotateIthAxis

RotateToDirection

RotateIthToDirection

TransformPosition

TransformDirection

 

Examples

Linear Transformation

 

 

 

 

 

Copyright © Photon Engineering, LLC