Skip to main content
Skip table of contents

rotx(angle)

Features

This function returns a rotation matrix that rotates by the angle value along the x-axis.

Parameters

Parameter Name

Data Type

Default Value

Description

angle

float

0

Rotating angle [deg]

Return

Value

Description

float[3][3]

Rotation matrix

Exception

Exception

Description

DR_Error (DR_ERROR_TYPE)

Parameter data type error occurred

Example

PY
rotm = rotx(30)


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.