@openbim/ifc
    Preparing search index...

    Interface ProductMesh

    One product's Body as triangles, from IfcModel.productMeshes.

    interface ProductMesh {
        closure: "unknown" | "solid" | "surface";
        colour: SurfaceColour | undefined;
        colourRefusal: ColourRefusal | undefined;
        globalId: string | undefined;
        id: bigint;
        indices: Uint32Array;
        positions: Float32Array;
        refusal: GeometryRefusal | undefined;
        transform: Matrix4 | undefined;
        triangleCount: number;
        typeName: string;
        vertexCount: number;
    }
    Index
    closure: "unknown" | "solid" | "surface"

    "solid" when the mesh bounds a volume the file declared, "surface" for a surface (an area, no volume), "unknown" for an empty or refused mesh (#458).

    colour: SurfaceColour | undefined

    The colour the Body's items agree on; undefined when nothing colours the product or colourRefusal says why it is not resolved.

    colourRefusal: ColourRefusal | undefined
    globalId: string | undefined
    id: bigint
    indices: Uint32Array

    Three vertex indices per triangle.

    positions: Float32Array

    x, y, z per vertex, metres, relative to transform.

    refusal: GeometryRefusal | undefined

    Empty arrays and no refusal: a product with no Body representation.

    transform: Matrix4 | undefined

    World placement; a vertex's world position is transform * position.

    triangleCount: number
    typeName: string
    vertexCount: number