Utilities package
Requirements.Utilities
ยท source
Library of utility functions
Extends Modelica.Icons.UtilitiesPackage
Utility functions of the library that are not specific to requirements: the geometric functions distancePointToPolygon (the signed minimum distance of a point to a polygon, positive inside) and isInsidePolygon (whether a point is inside a polygon). The signed distance is the margin of the polygonal-region checks, ChecksInFixedWindow.WithinDomain and LinearAnalysis.EigenvaluesWithinRegion: positive while a point stays inside its domain, negative when it leaves it.
Contents
| Name | Kind | Description | |
|---|---|---|---|
| distancePointToPolygon | function | Return minimum distance between a point and a polygon | |
| isInsidePolygon | function | Return true if a point is inside or on a polygon (otherwise return false) |