Skip to content

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.

ParameterType
Dreadonly Point[]
parametersNMapParameters

NMapCell[]

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.