API Reference > geometry-core > Curve > RegionOps > testPointInOnOutRegionXY 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 358 Last Updated: 12 June, 2024