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

◆ bounds()

Kinesis::AABB2D MayaFlux::Portal::Forma::ValueGroup::bounds ( ) const
inlinenoexcept

Union of the header strip and every row region.

Collapses to the header region alone when the group has no rows.

Definition at line 72 of file QueryUtils.hpp.

73 {
74 Kinesis::AABB2D b = header.bounds();
75 for (const auto& r : rows) {
76 const auto rb = r.bounds();
77 b.min = glm::min(b.min, rb.min);
78 b.max = glm::max(b.max, rb.max);
79 }
80 return b;
81 }
size_t b
Kinesis::AABB2D bounds() const noexcept
Header strip region, satisfying Kinesis::HasBounds.
std::vector< ValueRow > rows

References b, MayaFlux::Portal::Forma::Collapsible::bounds(), header, MayaFlux::Kinesis::AABB2D::min, and rows.

+ Here is the call graph for this function: