@pbroom/color-kit/planeTracing

PlaneQueryTracePathStage

Stage recording a set of paths produced during a solve.

interfaceimport type { PlaneQueryTracePathStage } from '@pbroom/color-kit/plane';types.ts:281
interface PlaneQueryTracePathStage {
  kind: 'paths';
  label: string;
  pathCount: number;
  pointCount: number;
  paths?: PlanePoint[][];
  durationMs?: number;
}

Properties

kind'paths'
labelstring
Which paths these are (e.g. 'visible-region', 'contrast-region-paths').
pathCountnumber
Number of paths (before truncation).
pointCountnumber
Number of points across all paths (before truncation).
paths?PlanePoint[][]
The paths in plane-normalized coordinates, capped at maxStageEntries paths of at most maxStageEntries points each.
durationMs?number
Stage duration in milliseconds. Reserved; not currently populated.

Also exported from