LinearRange4D
data class LinearRange4D<T : LinearType<T>>(val start: LinearRange3D<T>, val end: LinearRange3D<T>) : LinearType<LinearRange4D<T>> , Parametric4D<T> (source)
Represents a four-dimensional linear range defined by two three-dimensional linear ranges, providing endpoints for quadrilinear interpolation.
This class supports interpolation across four dimensions using the parameters u, v, w, and t. The interpolation is computed as a combination of the start and end LinearRange3D objects:
The
startLinearRange3D is weighted by(1.0 - t)The
endLinearRange3D is weighted byt
Parameters
T
The type of the values being interpolated, constrained by the LinearType interface.