struct BoundingBox

Defined at line 3715 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/wire_types.h

Represents an axis-aligned bounding box.

If any of the dimensions has a negative extent (e.g. max.x

<

min.x) then the

bounding box is treated as empty. It is valid for a client to define an

empty bounding box.

An "empty bounding box" is one that does not admit a point inhabitant.

Note that a zero-volume, zero-area bounding box (e.g., a point like

(0,0,0)-(0,0,0), or a line like (0,0,0)-(1,0,0)) is thus not empty.

Public Members

Vec3 min
Vec3 max