IFClite TypeScript API
    Preparing search index...

    Interface ModelFacts

    interface ModelFacts {
        buildingScope?: BuildingScope;
        candidates: CandidateFact[];
        coverage?: { skipped: number; walked: number };
        footprint: FootprintFact;
        georeference: Omit<ModelGeoreference, "toMap">;
        groundStorey: {
            basis: "none" | "given" | "project-zero" | "lowest-storey";
            expressId: number | null;
            level: number;
        };
        skipped: {
            expressId: number;
            ifcClass: string;
            reason: string;
            stage?: "storey"
            | "footprint-source";
        }[];
        spaces: SpaceFact[];
        storeys: StoreyFact[];
        warnings: string[];
    }
    Index
    buildingScope?: BuildingScope

    Absent on hand-built facts: then every candidate is taken to belong to the footprint's building.

    candidates: CandidateFact[]
    coverage?: { skipped: number; walked: number }

    The covered elements candidate selection walked, and how many of them it skipped: walked === candidates.length + skipped (checked again by the check). Absent on hand-built facts.

    footprint: FootprintFact
    georeference: Omit<ModelGeoreference, "toMap">
    groundStorey: {
        basis: "none" | "given" | "project-zero" | "lowest-storey";
        expressId: number | null;
        level: number;
    }
    skipped: {
        expressId: number;
        ifcClass: string;
        reason: string;
        stage?: "storey" | "footprint-source";
    }[]

    Entities skipped, with the reason: covered elements candidate selection did not keep (no stage), and, by their stage, footprint sources that could not be read and storeys without a placement, which are not elements walked and so not part of coverage.skipped.

    spaces: SpaceFact[]
    storeys: StoreyFact[]
    warnings: string[]