.Modelica_Requirements.Utilities.isInsidePolygon

Information

Interface

function isInsidePolygon
  input Real polygon[:, 2] "Polygon points (x,y)";
  input Real point[2] "Point inside, outside or on polygon";
  output Boolean inside "= true, if point is inside or on polygon, otherwise point is outside of polygon";
end isInsidePolygon;

Revisions

2009/12/04 creation by E. Thomas from c code INPOLY.C (Freeware source code http://www.visibone.com/inpoly/inpoly.c)

Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos