Builder

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

Builder of surfaces in 3D space.

Types

Link copied to clipboard
object Companion

Functions

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

Returns a new surface with provided configuration.

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

Sets type of the surface.

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

Sets control vertices defining the surface.

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

Sets degree of the surface in both directions.

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

Sets knots of the surface in the direction U.

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

Sets knots of the surface in the direction U.