Skip to content

Function: pointInPolygon() ​

ts
function pointInPolygon(pt, poly): boolean;

Ray-casting point-in-polygon test (even–odd rule).

Parameters ​

ParameterType
ptVec
polyPolygon

Returns ​

boolean

Hat tiling and isohedral tilings after Craig S. Kaplan's hatviz and Tactile (BSD 3-Clause).