API Reference > geometry-core > CartesianGeometry > PolygonOps > classifyPointInPolygon classifyPointInPolygon MethodStatic Test if point (x,y) is IN, OUT or ON a polygon. classifyPointInPolygon(x: number, y: number, points: XAndY[]): number | undefined Parameter Type Description x number x coordinate y number y coordinate points XAndY[] array of xy coordinates. Returns - number | undefined (1) for in, (-1) for OUT, (0) for ON Defined in core/geometry/src/geometry3d/PolygonOps.ts Line 569 Last Updated: 13 June, 2024