@pbroom/color-kit/planeTracing
PlaneQueryTracePathStage
Stage recording a set of paths produced during a solve.
import type { PlaneQueryTracePathStage } from '@pbroom/color-kit/plane';types.ts:281interface PlaneQueryTracePathStage {
kind: 'paths';
label: string;
pathCount: number;
pointCount: number;
paths?: PlanePoint[][];
durationMs?: number;
}Properties
- kind
'paths' - label
string - Which paths these are (e.g.
'visible-region','contrast-region-paths'). - pathCount
number - Number of paths (before truncation).
- pointCount
number - Number of points across all paths (before truncation).
- paths?
PlanePoint[][] - The paths in plane-normalized coordinates, capped at
maxStageEntriespaths of at mostmaxStageEntriespoints each. - durationMs?
number - Stage duration in milliseconds. Reserved; not currently populated.
Also exported from
@pbroom/color-kitthe same declaration, re-exported