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

◆ corner_position()

double MayaFlux::Kinesis::Lattice1D::corner_position ( uint32_t  c) const
inlinenoexcept

Position of a lattice corner.

Parameters
cCorner coordinate, valid up to resolution inclusive.

Definition at line 280 of file Lattice.hpp.

281 {
282 return bounds.min + static_cast<double>(c) * cell_size();
283 }
double cell_size() const noexcept
Width of one cell.
Definition Lattice.hpp:232
AABB1D bounds
Continuous extent subdivided.
Definition Lattice.hpp:229

References bounds, cell_size(), and MayaFlux::Kinesis::AABB1D::min.

+ Here is the call graph for this function: