LinearRange3D

data class LinearRange3D<T : LinearType<T>>(val start: LinearRange2D<T>, val end: LinearRange2D<T>) : LinearType<LinearRange3D<T>> , Parametric3D<T> (source)

Represents a three-dimensional linear range defined by two two-dimensional linear ranges, where the start and end ranges provide endpoints for trilinear interpolation.

This class allows for interpolation across three dimensions using the parameters u, v, and w.

Parameters

T

The type of the values being interpolated, constrained by the LinearType interface.

Constructors

Link copied to clipboard
constructor(start: LinearRange2D<T>, end: LinearRange2D<T>)

Properties

Link copied to clipboard

The ending two-dimensional linear range.

Link copied to clipboard

The starting two-dimensional linear range.

Functions

Link copied to clipboard
open operator override fun div(scale: Double): LinearRange3D<T>
Link copied to clipboard
open operator override fun minus(right: LinearRange3D<T>): LinearRange3D<T>
Link copied to clipboard
open operator override fun plus(right: LinearRange3D<T>): LinearRange3D<T>
Link copied to clipboard
operator fun <T : LinearType<T>> LinearRange3D<T>.rangeTo(end: LinearRange3D<T>): LinearRange4D<T>

Creates a LinearRange4D object representing the range between this LinearRange4D instance and the specified end LinearRange3D instance.

operator fun <T : LinearType<T>> LinearType<T>.rangeTo(end: T): LinearRange1D<T>

Creates a range from the current linear type instance to the specified end value.

Link copied to clipboard
open operator override fun times(scale: Double): LinearRange3D<T>
Link copied to clipboard
open override fun value(u: Double, v: Double, w: Double): T