nmap_regions
function nmap_regions(D, parameters?): NMapCell[];Defined in: nmap.ts:320
The rectangles N-Map assigns, one per input point, in input order. They tile the region exactly. gridify_nmap reduces these to their centres.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
D | readonly Point[] |
parameters | NMapParameters |
Returns
Section titled “Returns”NMapCell[]
Throws
Section titled “Throws”If any subdivision has no spread along the axis it is cut on. Distinct points are not enough — collinear runs and integer lattices both trip it.