For the complete documentation index, see llms.txt. This page is also available as Markdown.

rotate (List, Angle1, Angle2, Angle3)

rotate (List, Angle1, Angle2, Angle3) → List of number [X coor, Y coor, Z coor]

Given a three-element list (typically representing a point or a vector) and rotation angles provided in sequence (in radians), this function returns a new list by rotating the original list according to the given rotation angles.

Example:

<O N="rotateObject1" T="Project" Category="Functions" TransAlignRule="1">
    <!-- created by ParamML Examples on 8/23/2023 -->
    <P N="Point1" V="[10,5,20]" />
    <P N="Point2" V="rotate(Point1,PI,PI/4,PI/2)" />
</O>

Last updated