LinearRange1D
data class LinearRange1D<T : LinearType<T>>(val start: T, val end: T) : LinearType<LinearRange1D<T>> , Parametric1D<T> (source)
Represents a linear range between two values, defined by a start and an end point, where the type of the values implements the LinearType
interface. This class allows interpolation and evenly spaced steps within the range.
Parameters
T
The type of the range's start and end values, constrained by the LinearType
interface.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Creates a LinearRange2D
instance using this LinearRange1D
as the starting range and the specified end
as the ending range.
Creates a range from the current linear type instance to the specified end value.
Link copied to clipboard