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
| Name | Type | Default value |
|---|---|---|
x | number | 0 |
y | number | 0 |
h | number | 0 |
invalid? | boolean | undefined |
Returns
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
| Name | Type | Default value |
|---|---|---|
x | number | undefined |
y | number | undefined |
h | number | 0 |
invalid? | boolean | undefined |
Returns
void
Defined in
packages/graphic/renderer/shape3d/Shape3D.ts:62
copyFrom
▸ copyFrom(src): this
Parameters
| Name | Type |
|---|---|
src | Point3D |
Returns
this

