Skip to content

BoundingBox

Summary

Axis-aligned 3D bounding box.

Methods

contains

Signature: contains(arg: Point3, /) -> bool

Return whether point is inside the box.

diagonal

Signature: diagonal() -> float

Return box diagonal length.

include

Signature: include(arg: Point3, /) -> None

Expand box to include a point.

scale

Signature: scale(arg: float, /) -> None

Scale box size around center.

Properties

x_max

Maximum x.

x_min

Minimum x.

y_max

Maximum y.

y_min

Minimum y.

z_max

Maximum z.

z_min

Minimum z.