IFClite TypeScript API
    Preparing search index...

    Interface SectionPlaneFrame

    One section plane in world space.

    interface SectionPlaneFrame {
        anchor: [number, number, number];
        corners: [
            [number, number, number],
            [number, number, number],
            [number, number, number],
            [number, number, number],
        ];
        distance: number;
        enabled: boolean;
        flipped: boolean;
        id: string | null;
        normal: [number, number, number];
        primary: boolean;
    }
    Index
    anchor: [number, number, number]

    The model's centre projected onto the plane: where a handle sits.

    corners: [
        [number, number, number],
        [number, number, number],
        [number, number, number],
        [number, number, number],
    ]

    A square on the plane the clip uses (centred on anchor, sized from the model bounds), in winding order. It lies in the clipping plane exactly; the drawn preview quad of a rotated cardinal plane is axis-aligned instead, so place marks from anchor and the plane, not by matching that quad.

    distance: number
    enabled: boolean
    flipped: boolean
    id: string | null

    The plane's id, when it has one (the primary plane's too).

    normal: [number, number, number]

    Unit normal, and dot(p, normal) = distance on the plane.

    primary: boolean

    True for RenderOptions.sectionPlane; false for an entry of extraSectionPlanes.