LinearRange2D
data class LinearRange2D<T : LinearType<T>>(val start: LinearRange1D<T>, val end: LinearRange1D<T>) : LinearType<LinearRange2D<T>> , Parametric2D<T> (source)
Represents a two-dimensional linear range defined by two one-dimensional linear ranges, where the start
and end
ranges provide endpoints for interpolation.
This class enables bilinear interpolation between the start
and end
ranges based on parameters u
and v
.
Parameters
T
The type of the values being interpolated, constrained by the LinearType
interface.