@openbim/ifc
    Preparing search index...

    Interface LengthFormatOptions

    Options of IfcModel.formatLength.

    interface LengthFormatOptions {
        displayUnit?: string;
        places?: number;
        style?: "decimal" | "feet-inches" | "inches";
        suppressZeroInches?: boolean;
    }
    Index
    displayUnit?: string

    The unit a decimal length is written in; default the value's unit.

    places?: number

    Decimal places, or the fraction of an inch to round to (8 for 1/8"). Default 2 for decimal, 8 otherwise.

    style?: "decimal" | "feet-inches" | "inches"

    decimal (default), feet-inches or inches.

    suppressZeroInches?: boolean

    Write a whole number of feet as 5' rather than 5' - 0".