resolve2

Transform vector from frame 1 to frame 2

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Syntax

v2 = Frames.resolve2(R, v1);

Description

The function call Frames.resolve2(R12, v1) returns vector v resolved in frame 2 (= v2) from vector v resolved in frame 1 (= v1) using the orientation object R12 that describes the orientation to rotate frame 1 into frame 2.

See also

resolve1, TransformationMatrices.resolve2, Quaternions.resolve2.

Syntax

v2 = resolve2(R, v1)

Inputs (2)

R

Type: Orientation

Description: Orientation object to rotate frame 1 into frame 2

v1

Type: Real[3]

Description: Vector in frame 1

Outputs (1)

v2

Type: Real[3]

Description: Vector in frame 2