Skip to content

Function: cellAt() ​

ts
function cellAt(
   layout, 
   point, 
   options?
): Cell | undefined;

The cell whose visible shape contains point (in layout units), or undefined.

Parameters ​

ParameterType
layoutLayout
pointVec
optionsHitOptions

Returns ​

Cell | undefined

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