testPointInOnOutRegionXY MethodStatic

Test if point (x,y) is IN, OUT or ON a polygon.

testPointInOnOutRegionXY(curves: AnyRegion, x: number, y: number): number

Parameter Type Description
curves AnyRegion  
x number x coordinate
y number y coordinate

Returns - number

(1) for in, (-1) for OUT, (0) for ON

Defined in

Last Updated: 20 June, 2023