functionresolve2

Transform vector from frame 1 to frame 2

Extends from Modelica.Icons.Function (Icon for functions).

Information

Syntax

v2 = TransformationMatrices.resolve2(T, v1);

Description

This function returns vector v resolved in frame 2 (=v2) from vector v resolved in frame 1 (=v1) using the transformation matrix T that describes the orientation to rotate frame 1 into frame 2.

See also

resolve1, Frames.resolve2, Quaternions.resolve2.

Inputs

TypeNameDefaultDescription
TransformationMatrices.OrientationTOrientation object to rotate frame 1 into frame 2
Real[3]v1Vector in frame 1

Outputs

TypeNameDefaultDescription
Real[3]v2Vector in frame 2