Builder

interface Builder<T : Number, Comparable<T>>

Builder of curves in 3D space.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun build(): Curve3<T>

Returns a new curve with provided configuration.

Link copied to clipboard
abstract fun ofType(freeformType: FreeformType): Curve3.Builder<T>

Sets type of the curve.

Link copied to clipboard
abstract fun withControlPoints(vararg controlPoints: <Error class: unknown class><T>): Curve3.Builder<T>
abstract fun withControlPoints(controlPoints: List<<Error class: unknown class><T>>): Curve3.Builder<T>

Sets control points defining the curve.

Link copied to clipboard
abstract fun withKnots(vararg knots: T): Curve3.Builder<T>
abstract fun withKnots(knots: List<T>): Curve3.Builder<T>

Sets knots of the curve.