SimplexRange2D
data class SimplexRange2D<T : LinearType<T>>(val x0: T, val x1: T, val x2: T) : Parametric2D<T> (source)
Represents a 2D simplex range interpolated in a parametric space. This class defines a triangular range in 2D space, parameterized by three control points x0, x1, and x2. It implements the Parametric2D interface, allowing evaluation of linear combinations of these control points based on two parameters u and v.
Parameters
T
The type parameter constrained to types that implement LinearType<T>, enabling operations such as addition, multiplication, and scalar interpolation.