Compute coordinates along a line


function Line
  input Real x "Independent variable";
  input Real p0[2] "Coordinates for one point on the line";
  input Real p1[2] "Coordinates for another point on the line";
  output Real y "Value of y at the specified x";
end Line;

Generated at 2024-06-14T18:15:55Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos