BSplineCurve2

data class BSplineCurve2<T : Number, Comparable<T>>(val controlPoints: List<<Error class: unknown class><T>>, val knots: List<T>, val type: KClass<T>) : BaseCurve2<T>

B-spline curve in 2D space, defined by given controlPoints and knots.

Since

v2.0.0

Constructors

Link copied to clipboard
constructor(controlPoints: List<<Error class: unknown class><T>>, knots: List<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 toCurve3(): Curve3<T>

Returns this curve, but defined in 3D space.

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>): PolygonalChain2<T>

Returns polygonal chain approximating this curve.

Properties

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

Control points of this curve.

Link copied to clipboard
open override val degree: Int

Degree of this curve.

Link copied to clipboard
val knots: List<T>

Knots of this curve.

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

Type of coordinates in this curve.