Builder

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

Builder of surfaces in 3D space in rational form.

Types

Link copied to clipboard
object Companion

Functions

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

Returns a new surface with provided configuration.

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

Sets type of the surface.

Link copied to clipboard
abstract fun withControlVertices(vararg controlVertices: ControlVertex4<T>): Surface4.Builder<T>
abstract fun withControlVertices(controlVertices: List<ControlVertex4<T>>): Surface4.Builder<T>

Sets control vertices defining the surface.

Link copied to clipboard
abstract fun withDegree(degree: <Error class: unknown class><Int>): Surface4.Builder<T>

Sets degree of the surface in both directions.

Link copied to clipboard
abstract fun withKnotsU(vararg knotsU: T): Surface4.Builder<T>
abstract fun withKnotsU(knotsU: List<T>): Surface4.Builder<T>

Sets knots of the surface in the direction U.

Link copied to clipboard
abstract fun withKnotsV(vararg knotsV: T): Surface4.Builder<T>
abstract fun withKnotsV(knotsV: List<T>): Surface4.Builder<T>

Sets knots of the surface in the direction U.