IFClite TypeScript API
    Preparing search index...

    Interface SpatialZoneInput

    One zone to emit. Coordinates are IFC-AXES (Z-up) WORLD metres: the caller has already undone the render frame and swapped axes, because only the viewer knows what shifts its own pipeline applied. See apps/viewer/src/lib/zones/emit-spatial-zones.ts.

    interface SpatialZoneInput {
        Depth: number;
        Footprint?: [number, number][];
        Height: number;
        Name: string;
        Position: [number, number, number];
        RotationZ?: number;
        Width: number;
    }
    Index
    Depth: number

    Extent along world Y, metres. Ignored when Footprint is given.

    Footprint?: [number, number][]

    Convex footprint in IFC world metres (X/Y pairs), for a prism zone. When present the zone is this polygon extruded by Height, and the profile is emitted RELATIVE to Position so the placement stays the one thing that positions the zone.

    Height: number

    Extrusion height along +Z, metres.

    Name: string

    IfcRoot.Name - the zone's own name, e.g. "Takt A".

    Position: [number, number, number]

    Base centre of the zone in IFC world metres (Z-up).

    RotationZ?: number

    Rotation about the vertical axis, radians. Carried in the PLACEMENT rather than baked into the profile, so the profile stays a plain rectangle a receiving tool can read as one. Ignored with Footprint.

    Width: number

    Extent along world X, metres. Ignored when Footprint is given.