MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Forma::ElementHit Struct Reference

The spatial fields a document gives an element, as Element carries them. More...

#include <ElementHit.hpp>

Collaboration diagram for MayaFlux::Portal::Forma::ElementHit:

Public Attributes

std::optional< Kinesis::AABB2D > bounds
std::function< bool(glm::vec2)> contains

Detailed Description

The spatial fields a document gives an element, as Element carries them.

bounds is Element::bounds_hint, the fast reject box, and contains is Element::contains, the authoritative test. Either may be empty, and an empty one leaves what the form wrote.

Definition at line 18 of file ElementHit.hpp.


The documentation for this struct was generated from the following file: