Search
Preparing search index...
The search index is not available
Viewer
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Viewer
Box
Class Box
Hierarchy
Box
Implements
IBox
Index
Constructors
constructor
Accessors
bounding
Sphere
max
min
Methods
apply
Matrix
clamp
Point
clone
contains
Point
intersect
intersects
is
Empty
reset
set
From
Attribute
Array
union
Constructors
constructor
new
Box
(
_min
?:
vec3
, _max
?:
vec3
)
:
Box
Parameters
Optional
_min:
vec3
Optional
_max:
vec3
Returns
Box
Accessors
bounding
Sphere
get
boundingSphere
(
)
:
ISphere
Returns
ISphere
max
get
max
(
)
:
vec3
set
max
(
value
:
vec3
)
:
void
Returns
vec3
Parameters
value:
vec3
Returns
void
min
get
min
(
)
:
vec3
set
min
(
value
:
vec3
)
:
void
Returns
vec3
Parameters
value:
vec3
Returns
void
Methods
apply
Matrix
apply
Matrix
(
matrix
:
mat4
)
:
Box
Parameters
matrix:
mat4
Returns
Box
clamp
Point
clamp
Point
(
point
:
vec3
)
:
vec3
Parameters
point:
vec3
Returns
vec3
clone
clone
(
)
:
IBox
Returns
IBox
contains
Point
contains
Point
(
point
:
vec3
)
:
boolean
Parameters
point:
vec3
Returns
boolean
intersect
intersect
(
origin
:
vec3
, direction
:
vec3
)
:
null
|
number
Parameters
origin:
vec3
direction:
vec3
Returns
null
|
number
intersects
intersects
(
origin
:
vec3
, direction
:
vec3
)
:
boolean
Parameters
origin:
vec3
direction:
vec3
Returns
boolean
is
Empty
is
Empty
(
)
:
boolean
Returns
boolean
reset
reset
(
)
:
void
Returns
void
set
From
Attribute
Array
set
From
Attribute
Array
(
array
:
Int8Array
|
Uint8Array
|
Int16Array
|
Uint16Array
|
Uint32Array
|
Float32Array
, stride
?:
number
, bytes
?:
number
, matrix
?:
mat4
)
:
IBox
Parameters
array:
Int8Array
|
Uint8Array
|
Int16Array
|
Uint16Array
|
Uint32Array
|
Float32Array
Optional
stride:
number
Optional
bytes:
number
Optional
matrix:
mat4
Returns
IBox
union
union
(
box
:
IBox
)
:
IBox
Parameters
box:
IBox
Returns
IBox
Exports
Box
constructor
bounding
Sphere
max
min
apply
Matrix
clamp
Point
clone
contains
Point
intersect
intersects
is
Empty
reset
set
From
Attribute
Array
union