Change the reference frame of a set of 6 points
function changeRefFrame extends Modelica.Icons.Function; import SI = Modelica.Units.SI; import TM = Modelica.Mechanics.MultiBody.Frames.TransformationMatrices; input SI.Position in_points[6, 3]; input Integer sequence[3] "Sequence of rotations from frame 1 to frame 2 along axis sequence[i]"; input SI.Angle angles[3] "Rotation angles around the axes defined in 'sequence'"; output SI.Position out_points[6, 3]; end changeRefFrame;