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

◆ bounds()

Kinesis::AABB2D MayaFlux::Portal::Forma::EntryGroup::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 67 of file Entry.hpp.

68 {
69 Kinesis::AABB2D b = header.bounds();
70 for (const auto& r : rows) {
71 const auto rb = r.bounds();
72 b.min = glm::min(b.min, rb.min);
73 b.max = glm::max(b.max, rb.max);
74 }
75 return b;
76 }
size_t b
Kinesis::AABB2D bounds() const noexcept
Header strip region, satisfying Kinesis::HasBounds.
std::vector< Entry > rows
Definition Entry.hpp:60

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

+ Here is the call graph for this function: