Constructors
constructor
- newline(sx?: number, sy?: number, sz?: number, ex?: number, ey?: number, ez?: number): line
-
Parameters
-
Default value sx: number = 0
-
Default value sy: number = 0
-
Default value sz: number = 0
-
Default value ex: number = 0
-
Default value ey: number = 0
-
Default value ez: number = -1
Properties
Private Readonly _type
_type: number
Methods
Static create
- create(sx: number, sy: number, sz: number, ex: number, ey: number, ez: number): line
-
Parameters
-
sx: number
-
sy: number
-
sz: number
-
ex: number
-
ey: number
-
ez: number
Static len
-
Parameters
Returns number
长度。
Static set
- set(out: line, sx: number, sy: number, sz: number, ex: number, ey: number, ez: number): line
-
Parameters
-
-
sx: number
-
sy: number
-
sz: number
-
ex: number
-
ey: number
-
ez: number
out 接受操作的对象。
Basic Geometry: line.