IFClite TypeScript API
    Preparing search index...

    Interface CacheHeaderInfo

    Result from reading header only

    interface CacheHeaderInfo {
        entityCount: number;
        hasGeometry: boolean;
        hasSourceHash: boolean;
        hasSpatialHierarchy: boolean;
        schema: SchemaVersion;
        sections: SectionEntry[];
        sourceHash: bigint;
        totalTriangles: number;
        totalVertices: number;
        version: number;
    }
    Index
    entityCount: number
    hasGeometry: boolean
    hasSourceHash: boolean

    Is sourceHash a real full-file hash (vs. an unset 0n)?

    hasSpatialHierarchy: boolean
    sections: SectionEntry[]
    sourceHash: bigint

    Full-file xxhash64 of the source — VALID only when hasSourceHash is true. When false it is 0n and carries no meaning (see HeaderFlags.SourceHashUnset).

    totalTriangles: number
    totalVertices: number
    version: number