Skip to content

Class: Point3D

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

Constructors

Properties

Methods

Constructors

constructor

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

Parameters

NameTypeDefault value
xnumber0
ynumber0
hnumber0
invalid?booleanundefined

Returns

Point3D

Defined in

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

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

Parameters

NameTypeDefault value
xnumberundefined
ynumberundefined
hnumber0
invalid?booleanundefined

Returns

void

Defined in

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


copyFrom

copyFrom(src): this

Parameters

NameType
srcPoint3D

Returns

this

Defined in

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