BIM.works SDKs - v3.0.0-b.115
    Preparing search index...

    Interface QuantityFigure

    The verification geometry of a calculated quantity, as the server stores it (docs/quantity-figures-design.md §3.1)

    interface QuantityFigure {
        kind: string;
        primitives: (
            | { normal?: number[]; rings: number[][]; type: "polygon" }
            | { closed?: boolean; points: number[]; type: "polyline" }
            | { from: number[]; to: number[]; type: "dimension" }
            | { corners: number[]; type: "box" }
        )[];
    }
    Index

    Properties

    Properties

    kind: string

    The primitive that carries the label: "polygon" | "polyline" | "dimension" | "box"

    primitives: (
        | { normal?: number[]; rings: number[][]; type: "polygon" }
        | { closed?: boolean; points: number[]; type: "polyline" }
        | { from: number[]; to: number[]; type: "dimension" }
        | { corners: number[]; type: "box" }
    )[]

    Flat [x, y, z, ...] coordinates in metres, model coordinates