|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
nodiscard |
Read one spatial child of an element into hit.
bounds is Element::with_bounds, with min and max. A region is Element::with_contains over the Kinesis function of the same name: circle (center, radius), polygon (points), stroke (points, half_thickness), and union_bounds, intersect_bounds and subtract_bounds, each of two regions. An element has at most one bounds and one region.
| error | Receives a located message when false is returned. |
Definition at line 173 of file ElementHit.hpp.
References MayaFlux::Portal::Forma::ElementHit::bounds, MayaFlux::Portal::Forma::ElementHit::contains, MayaFlux::Portal::Forma::Detail::hit_fail(), MayaFlux::Kinesis::AABB2D::max, MayaFlux::Kinesis::AABB2D::min, MayaFlux::Portal::Forma::Detail::only_hit_attributes(), MayaFlux::Portal::Forma::Detail::read_hit_attribute(), and MayaFlux::Portal::Forma::Detail::read_region().
Referenced by MayaFlux::Portal::Forma::Detail::DocumentWalk< Source, Access >::read_element().