functionwrapAngle
Wrap angle to interval ]-pi,pi] or [0,2*pi[
Extends from Modelica.Math.Icons.AxisCenter (Basic icon for mathematical function with y-axis in the center).
Information
This function wraps the input angle u to the interval ]-pi,pi].
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Angle | u | Input angle | |
| Boolean | positiveRange | false | Use only positive output range, if true |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Angle | y | Wrapped output angle |