IFClite TypeScript API
    Preparing search index...

    Interface FloodCheckResult

    interface FloodCheckResult {
        buildingScope: BuildingScope;
        caveat: LocalizedText;
        coverage: { skipped: number; walked: number } | null;
        crs: string;
        footprintPartial: boolean;
        footprintQuality: FootprintQuality;
        footprintSource: FootprintSource;
        groundStorey: {
            basis: "none" | "given" | "project-zero" | "lowest-storey";
            expressId: number | null;
            level: number;
        };
        heightPlausibility: HeightPlausibility;
        heightReference: HeightReference;
        layerCheck: LayerCheck;
        lengthUnitScale: number;
        margin: MarginBasis;
        otherBuildings: {
            complete: boolean;
            count: number;
            extent: MapBBox
            | null;
            provenance: { date?: string; detail?: string; source: string } | null;
            rejected: string[];
            supplied: boolean;
        };
        parameters: ResolvedSampling & {
            anchorTolerance: number;
            clearanceMargin: number
            | null;
            rasterCellSize: number;
        };
        provenance: HazardProvenance;
        reachableBelowGround: ReachableSpace[];
        results: CandidateResult[];
        skipped: {
            expressId: number;
            ifcClass: string;
            reason: string;
            stage?: "storey"
            | "footprint-source";
        }[];
        summary: Record<Outcome, number>;
        terrainVerticalReference: string;
        verticalDatum: {
            basis: "stated-and-equal" | "not-stated-assumed-equal";
            model: string | null;
            modelCrs: string | null;
            terrainCrs: string;
        };
        warnings: string[];
    }
    Index
    buildingScope: BuildingScope

    The screening caveat every result carries.

    coverage: { skipped: number; walked: number } | null

    Covered elements walked and how many were skipped: walked === results.length + coverage.skipped. Null for hand-built facts.

    crs: string
    footprintPartial: boolean
    footprintQuality: FootprintQuality
    footprintSource: FootprintSource
    groundStorey: {
        basis: "none" | "given" | "project-zero" | "lowest-storey";
        expressId: number | null;
        level: number;
    }
    heightPlausibility: HeightPlausibility
    heightReference: HeightReference

    The entry-level check of the height reference and the residual risk it leaves.

    layerCheck: LayerCheck
    lengthUnitScale: number

    The model's project length unit in metres, so property payloads can be written in it.

    margin: MarginBasis
    otherBuildings: {
        complete: boolean;
        count: number;
        extent: MapBBox | null;
        provenance: { date?: string; detail?: string; source: string } | null;
        rejected: string[];
        supplied: boolean;
    }

    count valid rings; rejected why rings or the extent were not accepted (any makes the source not complete).

    parameters: ResolvedSampling & {
        anchorTolerance: number;
        clearanceMargin: number | null;
        rasterCellSize: number;
    }
    provenance: HazardProvenance
    reachableBelowGround: ReachableSpace[]
    results: CandidateResult[]
    skipped: {
        expressId: number;
        ifcClass: string;
        reason: string;
        stage?: "storey" | "footprint-source";
    }[]

    Every element the extraction skipped, with its reason (covered classes, and slabs or walls the footprint could not read).

    summary: Record<Outcome, number>
    terrainVerticalReference: string

    Human-readable vertical reference of the terrain (its EPSG identifier when it states none).

    verticalDatum: {
        basis: "stated-and-equal" | "not-stated-assumed-equal";
        model: string | null;
        modelCrs: string | null;
        terrainCrs: string;
    }

    How the model's vertical CRS relates to the terrain's, compared by EPSG identifier.

    warnings: string[]