@pbroom/color-kit/planeOperations
PlaneBooleanOptions
Options for the raster-based region booleans (unionRegions, intersectRegions, differenceRegions).
import type { PlaneBooleanOptions } from '@pbroom/color-kit/plane';operations.ts:14interface PlaneBooleanOptions {
resolution?: number;
}Properties
- resolution?
numberdefault96 - Grid cells per axis used to rasterize both regions. Clamped to
[16, 256]. Result edges can deviate from the exact boundary by up to about one cell (combined bounding-box span /resolution); higher values improve fidelity at quadratic compute cost.
Also exported from
@pbroom/color-kitthe same declaration, re-exported