Function: checkPeriodic()
ts
function checkPeriodic(spec, samples?): PeriodicCheck;Check a custom periodic tiling by sampling one lattice cell: every point should be covered by exactly one copy of one motif tile. Sampling can miss slivers narrower than the sample spacing (samples points per side, default 60).
Parameters
| Parameter | Type | Default value |
|---|---|---|
spec | | PeriodicSpec | PeriodicDefinition | undefined |
samples | number | 60 |