.HanserModelica.Classes.wrapAngle

Information

This function wraps the input angle u to the interval ]-pi,pi].

Interface

function wrapAngle
  extends Modelica.Math.Icons.AxisCenter;
  import Modelica.Constants.pi;
  input Modelica.Units.SI.Angle u "Input angle";
  input Boolean positiveRange = false "Use only positive output range, if true";
  output Modelica.Units.SI.Angle y "Wrapped output angle";
end wrapAngle;

Generated at 2024-04-24T18:15:52Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos