Skip to content

Function: isConvex() ​

ts
function isConvex(p, tol?): boolean;

Parameters ​

ParameterTypeDefault value
pPolygonundefined
tolnumber1e-9

Returns ​

boolean

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