BezierCurve1d

@Serializable
data class BezierCurve1d(val coefficients: List<Double>)

Bezier spline of degree k with equation \(\sum_{i=0}^{k} a_i t^i\) where \(0 \leq t \leq 1\)

Constructors

Link copied to clipboard
constructor(coefficients: DoubleArray)
constructor(coefficients: List<Double>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cache: List<Int>
Link copied to clipboard

Array of coefficients \(a_i\) for \(i = 0, 1, ..., k\)

Link copied to clipboard
val dim: Int

Functions

Link copied to clipboard
Link copied to clipboard
operator fun get(t: Double): Double
operator fun get(t: Double, n: Int): DualNum<Internal>
Link copied to clipboard