Constructors
constructor
- new Box3(min?, max?): Box3
Properties
Readonly
isBox3
isBox3: boolean
Methods
applyMatrix4
- applyMatrix4(matrix): Box3
containsBox
- containsBox(box, distTol?): boolean
Parameters
distTol: number = Tolerance.global.distTol
Returns boolean
containsPoint
- containsPoint(point, distTol?): boolean
Parameters
distTol: number = Tolerance.global.distTol
Returns boolean
distanceToPoint
- distanceToPoint(point): number
Returns number
equals
- equals(box, distTol?): boolean
Parameters
distTol: number = Tolerance.global.distTol
Returns boolean
expandByPoint
- expandByPoint(point): Box3
expandByScalar
- expandByScalar(scalar): Box3
expandByVector
- expandByVector(vector): Box3
getParameter
- getParameter(point, target): Vector3
intersectsBox
- intersectsBox(box): boolean
Returns boolean
isEmpty
- isEmpty(): boolean
Returns boolean
isOverlapping
- isOverlapping(box, distTol?): boolean
Parameters
distTol: number = Tolerance.global.distTol
Returns boolean
isValid
- isValid(): boolean
Returns boolean
setFromArray
- setFromArray(array): Box3
setFromCenterAndSize
- setFromCenterAndSize(center, size): Box3
setFromPoints
- setFromPoints(points): Box3