Meet us at at Real World in Orlando, Florida.
All functions
Mac OS X
Windows
Crossplatform
Components
Guides
New in version:
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
Math.InsidePolygon
Component: Math
Version: 2.2
Mac OS X: Works
Windows: Works
MBS( "Math.InsidePolygon"; X; Y; Values )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| X | The X coordinate | 30 |
| Y | The Y coordinate | 30 |
| Values | The list of x and y values. Delimiter is semicolon. Numbers in US format. | "10;20;30;20;30;40;10;40 |
Description
Checks if one point is inside a polygon.Examples
$result = MBS("Math.InsidePolygon"; 30; 30; "10;20;30;20;30;40;10;40")
Feedback: Report problem or ask question.
Links
MBS Realbasic tutorial videos - Bilder aus Nickenich