UNPKG
@xtor/cga.js
Version:
latest (0.0.6)
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Xtor Compute Geometry Algorithm Libary 计算几何算法库
github.com/yszhao91/cga.js
yszhao91/cga.js
@xtor/cga.js
/
dist
/
struct
/
3d
/
Box.d.ts
18 lines
(17 loc)
•
332 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import
{
Vec3
}
from
"../../math/Vec3"
;
/** * */
export
declare
class
Box
{
min
:
Vec3
;
max
:
Vec3
;
_center
:
Vec3
;
constructor
(
points
:
any
);
get
center
():
Vec3
;
/** * *
@param
{
Array<Vec3>
}
points
*/
setFromPoints
(
points
:
any
):
void
;
expand
(...
points
:
any
[]):
void
; }