BoxVolume#
Interface BoxVolume
Hierarchy
- BoxVolume
Methods
contains
copy
equals
extend
extend By Transformed Volume
- extend
By Transformed Volume(other: BoxVolume, transform?: Float32Array | [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number]): void -
Parameters
-
other: BoxVolume
-
Optional
transform: Float32Array | [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number]
Returns void
-
extend By Volume
from Array
get Center
get Corner Points
get Diameter
get Max
get Min
get Radial Vec
get Size
include Point
is Valid
overlaps
reset
set From Center Size
set Max
set Min
set Valid
transform From
- transform
From(matrix: Float32Array | [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number], other: BoxVolume): BoxVolume -
Parameters
-
matrix: Float32Array | [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number]
-
other: BoxVolume
Returns BoxVolume
-
transform From Array
- transform
From Array(matrix: Float32Array | [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number], otherVolume: number[]): BoxVolume -
Parameters
-
matrix: Float32Array | [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number]
-
otherVolume: number[]
Returns BoxVolume
-
This interfaces provides functions for working with BoxVolumes. BoxVolumes are Axis Aligned Bounding Boxes (AABB) and describe the minimal Bounding Box of a Node. They consist of six values, 3 for the minimum and 3 for the maximum corner.