Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ParallelogramDto

Index

Constructors

constructor

  • new ParallelogramDto(center?: Point3, direction?: Vector3, aroundCenter?: boolean, width?: number, height?: number, angle?: number): ParallelogramDto
  • Parameters

    • Optional center: Point3
    • Optional direction: Vector3
    • Optional aroundCenter: boolean
    • Optional width: number
    • Optional height: number
    • Optional angle: number

    Returns ParallelogramDto

Properties

angle

angle: number

Sharp angle of the parallelogram

default

15

minimum

-Infinity

maximum

Infinity

step

1

aroundCenter

aroundCenter: boolean

Indicates whether to draw the parallelogram around the center point or start from corner.

default

true

center

center: Point3

Center of the circle

default

[0, 0, 0]

direction

direction: Vector3

Direction

default

[0, 1, 0]

height

height: number

Height of bounding rectangle

default

1

minimum

0

maximum

Infinity

step

0.1

width

width: number

Width of bounding rectangle

default

2

minimum

0

maximum

Infinity

step

0.1

Generated using TypeDoc