class BoundingBox
Defined at line 4782 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/hlcpp/fuchsia/ui/gfx/cpp/fidl.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
Public Methods
::std::unique_ptr<BoundingBox> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, BoundingBox * value, size_t _offset)
zx_status_t Clone (BoundingBox * result)