|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Closed interval on a scalar axis. More...
#include <Bounds.hpp>
Collaboration diagram for MayaFlux::Kinesis::AABB1D:Public Member Functions | |
| double | center () const noexcept |
| bool | contains (double p) const noexcept |
| AABB1D | expanded (double margin) const noexcept |
| bool | overlaps (const AABB1D &other) const noexcept |
| AABB1D | translated (double offset) const noexcept |
| double | width () const noexcept |
Public Attributes | |
| double | max { 1.0 } |
| double | min { -1.0 } |
Closed interval on a scalar axis.
The one dimensional sibling of AABB2D and AABB3D, in double precision because scalar streams (audio, control, analysis) are double throughout. No vector type is involved, so a window of samples can be tested against it without building one.
Definition at line 20 of file Bounds.hpp.