Bitbybit Docs
    Preparing search index...

    Class HexGridCentersDto (Inputs.Point)

    The hexagon size, the column and row counts and the placement for point.hexGrid.

    Index

    Constructors

    • Parameters

      • OptionalnrHexagonsX: number
      • OptionalnrHexagonsY: number
      • OptionalradiusHexagon: number
      • OptionalorientOnCenter: boolean
      • OptionalpointsOnGround: boolean

      Returns HexGridCentersDto

    Properties

    nrHexagonsY: number

    How many rows of hexagons along Y.

    21
    

    0

    Infinity

    1

    nrHexagonsX: number

    How many columns of hexagons along X.

    21
    

    0

    Infinity

    1

    radiusHexagon: number

    Distance from a hexagon's center to one of its corners, in model units.

    0.2
    

    0

    Infinity

    0.1

    orientOnCenter: boolean

    When true, the middle of the grid sits at the origin instead of its corner.

    false
    
    pointsOnGround: boolean

    When true, the grid lies on the XZ ground plane (Y becomes 0) instead of the XY plane.

    false