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

◆ corner_count()

size_t MayaFlux::Kinesis::Lattice2D::corner_count ( ) const
inlinenoexcept

Corner count, one greater than the cell count on each axis.

Definition at line 142 of file Lattice.hpp.

143 {
144 return static_cast<size_t>(resolution.x + 1U) * (resolution.y + 1U);
145 }
glm::uvec2 resolution
Cell count per axis. Zero on either axis is invalid.
Definition Lattice.hpp:126

References resolution.