Skip to content

Function: sharesEdge() ​

ts
function sharesEdge(
   a, 
   b, 
   tol
): boolean;

Do two polygons share a boundary segment of positive length?

Parameters ​

ParameterType
aPolygon
bPolygon
tolnumber

Returns ​

boolean

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