IFClite TypeScript API
    Preparing search index...

    Interface RoofPolygonParams

    The footprint form of addRoof: either field present selects it.

    interface RoofPolygonParams {
        Description?: string;
        EdgeSlopes?: number[];
        GlobalId?: string;
        Name?: string;
        ObjectType?: string;
        OuterCurve: [number, number][];
        Overhang?: number;
        Position?: [number, number, number];
        Profile: "polygon";
        Tag?: string;
        Thickness: number;
    }

    Hierarchy (View Summary)

    Index
    Description?: string
    EdgeSlopes?: number[]

    Slope of each footprint edge, radians, in outline order: edge i runs from point i to point i+1 (a rectangle's from its corner along +X, then anticlockwise). 0 is no slope: a gable end, or the high side of a mono-pitch roof. Omitted: every edge is unsloped (a flat roof).

    GlobalId?: string

    Explicit GlobalId (22-char IFC GUID); generated when omitted.

    Name?: string
    ObjectType?: string
    OuterCurve: [number, number][]
    Overhang?: number

    Horizontal overhang beyond every edge, metres. Eaves drop with their plane. Default 0.

    Position?: [number, number, number]
    Profile: "polygon"
    Tag?: string
    Thickness: number