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

◆ bounds()

template<typename T >
Kinesis::AABB2D MayaFlux::Portal::Forma::Mapped< T >::bounds ( ) const
inlinenoexcept

Current spatial footprint, satisfying Kinesis::HasBounds.

Returns the element's bounds_hint as last written by the geometry function, or a zero region when the geometry function sets none.

Definition at line 115 of file Mapped.hpp.

116 {
117 return element.bounds_hint.value_or(Kinesis::AABB2D {});
118 }
std::optional< Kinesis::AABB2D > bounds_hint
Optional fast-reject bounds in NDC space.
Definition Element.hpp:64
Element element
The Element registered with the Layer.
Definition Mapped.hpp:98

References MayaFlux::Portal::Forma::Element::bounds_hint, and MayaFlux::Portal::Forma::Mapped< T >::element.