.IdealizedContact.Components.VectorCalculations.angleBetweenTwoVectors

Information

Function to calculate the angle between two given vectors. Vector1 and vector2 are three-dimensional Euclidean vectors and should not be zero vector.

Interface

function angleBetweenTwoVectors
  input Real vector1[3] "vector1 (should not be zero)";
  input Real vector2[3] "vector2 (should not be zero)";
  output Real angle "angle between vector1 and vector2";
  constant Real pi = Modelica.Constants.pi;
end angleBetweenTwoVectors;

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos