The minimal shape packSectionPlanes needs from a section plane: its enabled flag, world-space normal, and the precomputed plane constant dist = -dot(normal, pos). Matches viewing!viewer.SectionPlane.

interface SectionPlaneLike {
    active: boolean;
    dir: ArrayLike<number>;
    dist: number;
}

Properties

Properties

active: boolean
dir: ArrayLike<number>
dist: number