MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Kinesis::HasBounds Concept Reference

Any type carrying a spatial footprint usable as a placement anchor. More...

#include <Bounds.hpp>

Concept definition

template<typename T>
concept MayaFlux::Kinesis::HasBounds = requires(const T& t) {
{ t.bounds() } -> std::convertible_to<AABB2D>;
}
Any type carrying a spatial footprint usable as a placement anchor.
Definition Bounds.hpp:608

Detailed Description

Any type carrying a spatial footprint usable as a placement anchor.

Satisfied by Portal::Forma::Mapped<T>, Collapsible, ValueGroup, and ValueRow. AABB2D itself does not satisfy it, so the overloads below never collide with the AABB2D-taking primaries.

Definition at line 608 of file Bounds.hpp.