Documentation / @ripl/core / getContainingBox
Function: getContainingBox() ​
getContainingBox<
TValue>(value,identity):Box
Defined in: packages/core/src/math/geometry.ts:87
Computes the smallest axis-aligned bounding box that contains all boxes extracted from the array.
Type Parameters ​
| Type Parameter |
|---|
TValue |
Parameters ​
| Parameter | Type |
|---|---|
value | TValue[] |
identity | (value) => Box |