.IdealizedContact.Components.VectorCalculations.intersectionOfTwoLines

Information

Function to locate the intersection points on two lines in space.

Interface

function intersectionOfTwoLines
  input Real c[3] "starting point of line 1";
  input Real s[3] "length direction of line 1";
  input Real d[3] "starting point of line 2";
  input Real w[3] "length direction of line 2";
  output Real t[2] "position of intersection point on line 1 and 2 resolved in starting point";
end intersectionOfTwoLines;

Generated at 2026-02-24T19:19:10Z by OpenModelicaOpenModelica 1.26.2 using GenerateDoc.mos