functionto_exy

Map rotation object into e_x and e_y vectors of frame 2, resolved in frame 1

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

Information

Syntax

exy = Frames.to_exy(R);

Description

This function returns unit vectors e_x and e_y which define axes of frame 2 resolved in frame 1, provided R is an orientation object to rotate frame 1 into frame 2.

See also

from_nxy, from_nxz, TransformationMatrices.to_exy.

Inputs

TypeNameDefaultDescription
OrientationROrientation object to rotate frame 1 into frame 2

Outputs

TypeNameDefaultDescription
Real[3,2]exy= [e_x, e_y] where e_x and e_y are axes unit vectors of frame 2, resolved in frame 1