Skip to content

@orillusion/graphic


Class: Point3D

Defined in: packages/graphic/renderer/shape3d/Shape3D.ts:52

Used to describe the key points for drawing a path, where xy refers to the data in the xz direction. H is the data in the y direction If you want to give this Shape transform attribute, you can control the transformation of the binded Object3D to achieve the goal

Export

Point3D

Constructors

Constructor

new Point3D(x?, y?, h?, invalid?): Point3D

Defined in: packages/graphic/renderer/shape3d/Shape3D.ts:58

Parameters

x?

number = 0

y?

number = 0

h?

number = 0

invalid?

boolean

Returns

Point3D

Properties

HELP_0

static HELP_0: Point3D

Defined in: packages/graphic/renderer/shape3d/Shape3D.ts:54


HELP_1

static HELP_1: Point3D

Defined in: packages/graphic/renderer/shape3d/Shape3D.ts:55


HELP_2

static HELP_2: Point3D

Defined in: packages/graphic/renderer/shape3d/Shape3D.ts:56


x

x: number

Defined in: packages/graphic/renderer/shape3d/Shape3D.ts:77


y

y: number

Defined in: packages/graphic/renderer/shape3d/Shape3D.ts:78


h

h: number

Defined in: packages/graphic/renderer/shape3d/Shape3D.ts:79


invalid

invalid: boolean

Defined in: packages/graphic/renderer/shape3d/Shape3D.ts:80

Methods

set()

set(x, y, h?, invalid?): void

Defined in: packages/graphic/renderer/shape3d/Shape3D.ts:62

Parameters

x

number

y

number

h?

number = 0

invalid?

boolean

Returns

void


copy()

copy(src): this

Defined in: packages/graphic/renderer/shape3d/Shape3D.ts:69

Parameters

src

Point3D

Returns

this

Released under the MIT License