.Modelica_Requirements.Examples.Elementary.ChecksInFixedWindow.WithinDomain

Information

Using check block WithinDomain as

displays the polygon and the point in the icon of the block. If the point is within the polygon, the point is displayed in green and the polygon area in grey (the grey point on the polygon marks the polygon point that is closest to the point). If the point is outside of the polygon, it is displayed in red and the polygon area in light red:

Simulating this examples results in

simulation result

Note, that the point is outside of the domain defined by the polygon if distance < 0.


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