IFClite TypeScript API
    Preparing search index...

    Interface ExtractedViewpointState

    State extracted from a BCF viewpoint, shaped to round-trip straight back into bim.viewer.setCamera() / bim.viewer.setSection() — the same tuple camera + x/y/z section-plane axis vocabulary ViewpointOptions documents as input from getCamera()/getSection().

    interface ExtractedViewpointState {
        camera?: {
            mode: "perspective" | "orthographic";
            position: [number, number, number];
            target: [number, number, number];
            up: [number, number, number];
        };
        coloredGuids: { color: string; guids: string[] }[];
        hiddenGuids: string[];
        sectionPlane?: {
            axis: "x" | "y" | "z";
            enabled: boolean;
            flipped: boolean;
            position: number;
        };
        sectionPlanes?: {
            axis: "x"
            | "y"
            | "z";
            enabled: boolean;
            flipped: boolean;
            position: number;
        }[];
        selectedGuids: string[];
        visibleGuids: string[]
        | null;
    }
    Index
    camera?: {
        mode: "perspective" | "orthographic";
        position: [number, number, number];
        target: [number, number, number];
        up: [number, number, number];
    }
    coloredGuids: { color: string; guids: string[] }[]
    hiddenGuids: string[]
    sectionPlane?: {
        axis: "x" | "y" | "z";
        enabled: boolean;
        flipped: boolean;
        position: number;
    }

    The first clipping plane.

    sectionPlanes?: {
        axis: "x" | "y" | "z";
        enabled: boolean;
        flipped: boolean;
        position: number;
    }[]

    Every clipping plane of the viewpoint, in order, ready for bim.viewer.setSections() (#7545).

    selectedGuids: string[]
    visibleGuids: string[] | null