Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • HexGridCentersDto

Index

Constructors

constructor

  • new HexGridCentersDto(nrHexagonsX?: number, nrHexagonsY?: number, radiusHexagon?: number, orientOnCenter?: boolean, pointsOnGround?: boolean): HexGridCentersDto
  • Parameters

    • Optional nrHexagonsX: number
    • Optional nrHexagonsY: number
    • Optional radiusHexagon: number
    • Optional orientOnCenter: boolean
    • Optional pointsOnGround: boolean

    Returns HexGridCentersDto

Properties

nrHexagonsX

nrHexagonsX: number

Number of Hexagons on Z direction

default

21

minimum

0

maximum

Infinity

step

1

nrHexagonsY

nrHexagonsY: number

Number of hexagons on Y direction

default

21

minimum

0

maximum

Infinity

step

1

orientOnCenter

orientOnCenter: boolean

Orient hexagon points grid on center

default

false

pointsOnGround

pointsOnGround: boolean

Orient points on the ground

default

false

radiusHexagon

radiusHexagon: number

radius of a single hexagon

default

0.2

minimum

0

maximum

Infinity

step

0.1

Generated using TypeDoc