Constructors
constructor
- newTriangle(ax?: number, ay?: number, az?: number, bx?: number, by?: number, bz?: number, cx?: number, cy?: number, cz?: number): triangle
-
Parameters
-
Default value ax: number = 0
-
Default value ay: number = 0
-
Default value az: number = 0
-
Default value bx: number = 1
-
Default value by: number = 0
-
Default value bz: number = 0
-
Default value cx: number = 0
-
Default value cy: number = 1
-
Default value cz: number = 0
Properties
Protected Readonly _type
_type: number
Methods
Static copy
-
Parameters
out 接受操作的 triangle。
Static create
- create(ax?: number, ay?: number, az?: number, bx?: number, by?: number, bz?: number, cx?: number, cy?: number, cz?: number): triangle
-
Parameters
-
Default value ax: number = 1
-
Default value ay: number = 0
-
Default value az: number = 0
-
Default value bx: number = 0
-
Default value by: number = 0
-
Default value bz: number = 0
-
Default value cx: number = 0
-
Default value cy: number = 0
-
Default value cz: number = 1
一个新的 triangle。
Static fromPoints
-
Parameters
out 接受操作的 triangle。
Static set
- set(out: triangle, ax: number, ay: number, az: number, bx: number, by: number, bz: number, cx: number, cy: number, cz: number): triangle
-
Parameters
-
-
ax: number
-
ay: number
-
az: number
-
bx: number
-
by: number
-
bz: number
-
cx: number
-
cy: number
-
cz: number
基础几何 三角形。