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

    Constructors

    • Parameters

      • Optionalwidth: number
      • Optionallength: number
      • Optionalheight: number
      • Optionalcenter: Point3
      • OptionaloriginOnCenter: boolean

      Returns BoxDto

    Properties

    width: number

    Width of the box

    1
    

    0

    Infinity

    0.1

    length: number

    Length of the box

    2
    

    0

    Infinity

    0.1

    height: number

    Height of the box

    3
    

    0

    Infinity

    0.1

    center: Point3

    Center of the box

    [0, 0, 0]
    
    originOnCenter?: boolean

    Force origin to be on the center of the cube

    true