AxisAlignedBoundingBox3D
Class in @bimworks/viewer3d.
API catalogue · @bimworks/viewer3d · Class
TypeScript#
class AxisAlignedBoundingBox3DAn axis-aligned box in mm; the frame is the one of the member that returns it (render space for the viewer's bounds)
Members#
| Member | Kind | Description |
|---|---|---|
| constructor | Method | |
| getCenter | Method | |
| getMaxX | Method | |
| getMaxY | Method | |
| getMaxZ | Method | |
| getMinX | Method | |
| getMinY | Method | |
| getMinZ | Method | |
| getSize | Method | The size along an axis: 0 x, 1 y, 2 z |
| isEmpty | Method |
constructor#
TypeScript#
constructor()getCenter#
getMaxX#
TypeScript#
getMaxX(): numbergetMaxY#
TypeScript#
getMaxY(): numbergetMaxZ#
TypeScript#
getMaxZ(): numbergetMinX#
TypeScript#
getMinX(): numbergetMinY#
TypeScript#
getMinY(): numbergetMinZ#
TypeScript#
getMinZ(): numbergetSize#
TypeScript#
getSize(ordinate: 0 | 1 | 2): numberThe size along an axis: 0 x, 1 y, 2 z
Parameters#
| Name | Type | Description |
|---|---|---|
ordinate |
0 | 1 | 2 |
isEmpty#
TypeScript#
isEmpty(): boolean