.CRML.ETL.Utilities.polygonVertexAngles

Returns the vector of polygon vertex angles from a given point

Interface

function polygonVertexAngles
  input Real polygon[:, 2] "Polygon";
  input Real point[2] "Point";
  input Real tolerance = 0 "Tolerance";
  output Real alpha[size(polygon, 1)] "Vector of polygon vertex angles";
  output Integer n "Number of polygon vertices. If -1, the result is undecided";
end polygonVertexAngles;

Generated at 2026-07-26T20:40:21Z by OpenModelicaOpenModelica 1.27.0 using GenerateDoc.mos