back to Table of Contents


PointInPolygon (function)

This function will check, whether a given point is inside the given source polygon or outside. Optionally it may also draw the point with given inside/outside colors respectivly.


SYNTAX:

pip% = PointInPolygon% (chkX%, chkY%, srcPolyX%(), srcPolyY%(), ic&&, oc&&)

INPUTS:

chkX%, chkY% (INTEGERs)

srcPolyX%(), srcPolyY%() (INTEGER arrays)

ic&&, oc&& (_INTEGER64s)


RESULT:

pip% (INTEGER)


back to Table of Contents