bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • OptionalstartPoint: Point3
      • OptionalendPoint: Point3
      • Optionaldirection: Vector3
      • OptionallabelOffset: number
      • OptionaldecimalPlaces: number
      • OptionallabelSuffix: string
      • OptionallabelOverwrite: string
      • OptionalremoveTrailingZeros: boolean
      • Optionalstyle: DimensionStyleDto

      Returns LinearDimensionDto

    Properties

    startPoint: Point3

    Start point of the dimension

    [0, 0, 0]
    
    endPoint: Point3

    End point of the dimension

    [1, 0, 0]
    
    direction: Vector3

    Direction vector for dimension line offset

    [0, 1, 0]
    
    labelOffset: number

    Label offset from dimension line

    0.1
    

    0

    Infinity

    0.1

    decimalPlaces: number

    Decimal places for measurement display

    2
    

    0

    10

    1

    labelSuffix: string

    Label suffix text

    mm
    
    labelOverwrite: string

    Override label text with custom expression (supports 'val' for computed value, e.g., '100*val', 'Length: val mm')

    1*val
    
    removeTrailingZeros: boolean

    Remove trailing zeros from decimal places

    false
    

    Dimension style

    undefined
    

    true