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

◆ cell_size()

double MayaFlux::Kinesis::Lattice1D::cell_size ( ) const
inlinenoexcept

Width of one cell.

Definition at line 232 of file Lattice.hpp.

233 {
234 return bounds.width() / static_cast<double>(resolution);
235 }
double width() const noexcept
Definition Bounds.hpp:34
AABB1D bounds
Continuous extent subdivided.
Definition Lattice.hpp:229
uint32_t resolution
Cell count. Zero is invalid.
Definition Lattice.hpp:228

References bounds, resolution, and MayaFlux::Kinesis::AABB1D::width().

Referenced by cell_at(), cell_center(), and corner_position().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: