WOLFRAM SYSTEM MODELER

axis

Return unit vector for x-, y-, or z-axis

Wolfram Language

In[1]:=
SystemModel["Modelica.Mechanics.MultiBody.Frames.axis"]
Out[1]:=

Information

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

Syntax

e = Frames.axis(axis);

Description

A unit vector e is returned depending on whether x-, y-, or z-axis is required.

 axis  |    e
-------+-----------
  1    |  {1,0,0}
  2    |  {1,0,0}
  3    |  {1,0,0}

Syntax

e = axis(axis)

Inputs (1)

axis

Type: Integer

Description: Axis vector to be returned

Outputs (1)

e

Type: Real[3]

Description: Unit axis vector