.. _auto_matrix_createcosinefromeulerangles: *MATRIX CREATECOSINEFROMEULERANGLES* ==================================== Constructs a 3×3 direction cosine matrix (DCM) from three Euler rotation angles supplied in radians. Use this worker whenever a coordinate-frame transformation matrix is needed from a sequence of three successive rotations about body or world axes. When to use ----------- Classification: **process**. Tagged: ``3x3``, ``coordinate_transform``, ``dcm``, ``direction_cosine_matrix``, ``euler_angles``, ``matrix``, ``radians``, ``rotation``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Angle 1 - angle1 - float - 0 - - Rotation angle about the first Euler axis, in radians (float); defaults to 0.0, meaning no rotation about this axis. * - Angle 2 - angle2 - float - 0 - - Rotation angle about the second Euler axis, in radians (float); defaults to 0.0, meaning no rotation about this axis. * - Angle 3 - angle3 - float - 0 - - Rotation angle about the third Euler axis, in radians (float); defaults to 0.0, meaning no rotation about this axis. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - matrix_createcosinefromeulerangles_output_1 - matrix_createcosinefromeulerangles_output_1 - matrix - 3×3 direction cosine (rotation) matrix computed from the three input Euler angles; use this matrix to transform vectors or coordinates between the original and rotated reference frames. Disciplines ----------- - data.units - engineering.multibody - engineering.structures .. raw:: html

Auto-generated from transformation schema. Worker id: matrix_createcosinefromeulerangles. Schema hash: 519e70167097. Hand-curated docs in workerexamples/ override this page when present.