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
- curve/RegionOps.ts Line 370
Last Updated: 30 November, 2023