Skip to content

Function: signedArea() ​

ts
function signedArea(p): number;

Shoelace signed area. Positive for the library's canonical orientation.

Parameters ​

ParameterType
pPolygon

Returns ​

number

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