blockangleBetweenTwoVectorsBlock
Information
Block to calculate the angle between two given vectors. The vector1 and vector2 are three-dimensional Euclidean vector and should not be zero vector.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | pi | Modelica.Constants.pi | |
| Real | t | pi/2 | output in case of a zero-vector |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput[3] | vector1 | three-dimensional vector | |
| Modelica.Blocks.Interfaces.RealInput[3] | vector2 | three-dimensional unit vector | |
| Modelica.Blocks.Interfaces.RealOutput | angle | angle between vector1 and vector2 |