|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
noexcept |
Linearly interpolate a line of values onto another of a different size by relative position.
| source | Values on the old line |
| target | Receives the values on the new line, every element is written |
| offset | Where the first value sits in units of the spacing: 0 for the N + 1 pressures, which lie on the grid points, and 0.5 for the N velocities, which lie on the half points |
The i-th of m values lies at (i + offset) / (m - 1 + 2 offset) of the length. Positions outside the source are clamped to its ends. An empty source leaves the target zero. Allocates nothing.
Definition at line 73 of file StaggeredLine.cpp.