Compose Quaternions from Two Axes (Right Hand Rule)

You are currently viewing the documentation for the latest version (2.2.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Function

Taking the input two vectors as the specified axes and using the right-hand rule, this Step generates a rotation vector in quaternions. If the two input axes are not perpendicular, after the third axis is generated by the right-hand rule, the axis from the second port will be reserved, and the rotation vector will be generated from the axis of the second port and the generated third axis using the right-hand rule again.

Usage Scenario

This Step is a general data type conversion and composition Step. No fixed usage scenarios.

Input and Output

Input

Input port Data type Description

First Axis

Vector3D[]

3D vector input to this port will be used as the starting axis for rotation.

Second Axis

Vector3D[]

3D vector input to this port will be used as the end axis of the rotation.

Output

Output port Data type Description

Resulted Quaternions

Quaternion[]

Quaternions representing the rotation vector

Parameter Description

Parameter Description

Axis Combination

Description: This parameter specifies the axes of the first and second input vectors in the created reference frame. According to the selected combination, the third axis will be automatically derived from the right-handed rule, a complete rotation coordinate system will be constructed, and quaternions describing the rotation will be output.
Value list: XY, YZ, ZX

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.