Constructors
constructor
- newPlane(nx?: number, ny?: number, nz?: number, d?: number): plane
-
Parameters
-
Default value nx: number = 0
-
Default value ny: number = 1
-
Default value nz: number = 0
-
Default value d: number = 0
Properties
Protected Readonly _type
_type: number
Accessors
w
- get w(): number
- set w(val: number): void
-
Returns number
-
Parameters
Returns void
x
- get x(): number
- set x(val: number): void
-
Returns number
-
Parameters
Returns void
y
- get y(): number
- set y(val: number): void
-
Returns number
-
Parameters
Returns void
z
- get z(): number
- set z(val: number): void
-
Returns number
-
Parameters
Returns void
Methods
transform
- transform(mat: Mat4): void
Static create
- create(nx: number, ny: number, nz: number, d: number): plane
-
Parameters
-
nx: number
-
ny: number
-
nz: number
-
d: number
Static fromNormalAndPoint
Static set
- set(out: plane, nx: number, ny: number, nz: number, d: number): plane
-
Parameters
-
-
nx: number
-
ny: number
-
nz: number
-
d: number
out 接受操作的对象。
基础几何 Plane。