Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CylinderDto

Index

Constructors

constructor

  • new CylinderDto(radius?: number, height?: number, center?: Point3, direction?: Vector3, angle?: number, originOnCenter?: boolean): CylinderDto
  • Parameters

    • Optional radius: number
    • Optional height: number
    • Optional center: Point3
    • Optional direction: Vector3
    • Optional angle: number
    • Optional originOnCenter: boolean

    Returns CylinderDto

Properties

Optional angle

angle: number

Angle of the cylinder pie

default

360

minimum

0

maximum

Infinity

step

1

center

center: Point3

Center of the cylinder

default

[0, 0, 0]

Optional direction

direction: Vector3

Direction for the cylinder

default

[0, 1, 0]

height

height: number

Height of the cylinder

default

2

minimum

0

maximum

Infinity

step

0.1

Optional originOnCenter

originOnCenter: boolean

Force origin to be on the center of cylinder

default

false

radius

radius: number

Radius of the cylinder

default

1

minimum

0

maximum

Infinity

step

0.1

Generated using TypeDoc