BezierCurve4

data class BezierCurve4<T : Number, Comparable<T>>(val controlPoints: List<<Error class: unknown class><T>>, val type: KClass<T>) : BaseCurve4<T>

Bézier curve in 3D space in rational form, defined by given controlPoints.

Since

v2.0.0

Constructors

Link copied to clipboard
constructor(controlPoints: List<<Error class: unknown class><T>>, type: KClass<T>)

Functions

Link copied to clipboard
open operator override fun get(parameterValue: T): <Error class: unknown class><T>

Returns point on this curve at a given parameterValue.

Link copied to clipboard
open override fun toInterpolator(): Interpolator<T, <Error class: unknown class><T>>

Returns an interpolator using points on this curve as values.

Link copied to clipboard
open override fun toPolygonalChain(parameterValues: Sequence<T>): PolygonalChain4<T>

Returns polygonal chain approximating this curve.

Properties

Link copied to clipboard
open override val controlPoints: List<<Error class: unknown class><T>>

Control points defining this curve.

Link copied to clipboard
open override val degree: Int

Degree of this curve.

Link copied to clipboard
open override val type: KClass<T>

Type of coordinates in this curve.