MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ with_bounds()

Element & MayaFlux::Portal::Forma::Element::with_bounds ( Kinesis::AABB2D  b)
inline

Set the fast-reject AABB.

For rectangular regions this is sufficient on its own — leave with_contains unset.

Definition at line 95 of file Element.hpp.

96 {
97 bounds_hint = b;
98 return *this;
99 }
size_t b
std::optional< Kinesis::AABB2D > bounds_hint
Optional fast-reject bounds in NDC space.
Definition Element.hpp:64

References b.

Referenced by MayaFlux::Portal::Forma::Plot::place_label(), and MayaFlux::Portal::Forma::Plot::place_rect().

+ Here is the caller graph for this function: