Package-level declarations

Freeform geometry utilities.

Types

Link copied to clipboard
abstract class BaseCurve2<T : Number, Comparable<T>> : Curve2<T>

Base implementation of curve in 2D space.

Link copied to clipboard
abstract class BaseCurve3<T : Number, Comparable<T>> : Curve3<T>

Base implementation of curve in 3D space.

Link copied to clipboard
abstract class BaseCurve4<T : Number, Comparable<T>> : Curve4<T>

Base implementation of curve in 3D space in rational form.

Link copied to clipboard
data class BezierCurve2<T : Number, Comparable<T>>(val controlPoints: List<<Error class: unknown class><T>>, val type: KClass<T>) : BaseCurve2<T>

Bézier curve in 2D space, defined by given controlPoints.

Link copied to clipboard
data class BezierCurve3<T : Number, Comparable<T>>(val controlPoints: List<<Error class: unknown class><T>>, val type: KClass<T>) : BaseCurve3<T>

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

Link copied to clipboard
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.

Link copied to clipboard
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.

Link copied to clipboard
data class BSplineCurve3<T : Number, Comparable<T>>(val controlPoints: List<<Error class: unknown class><T>>, val knots: List<T>, val type: KClass<T>) : BaseCurve3<T>

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

Link copied to clipboard
data class BSplineCurve4<T : Number, Comparable<T>>(val controlPoints: List<<Error class: unknown class><T>>, val knots: List<T>, val type: KClass<T>) : BaseCurve4<T>

B-spline curve in 3D space in rational form, defined by given controlPoints and knots.

Link copied to clipboard
data class ControlVertex3<T : Number, Comparable<T>>(val controlPoint: <Error class: unknown class><T>, val textureCoordinates: <Error class: unknown class><T>, val normal: <Error class: unknown class><T>)

Control vertex of 3D a surface.

Link copied to clipboard
data class ControlVertex4<T : Number, Comparable<T>>(val controlPoint: <Error class: unknown class><T>, val textureCoordinates: <Error class: unknown class><T>, val normal: <Error class: unknown class><T>)

Control vertex of a 3D surface in rational form.

Link copied to clipboard
interface Curve2<T : Number, Comparable<T>>

A curve in 2D space.

Link copied to clipboard
interface Curve3<T : Number, Comparable<T>>

A curve in 3D space.

Link copied to clipboard
interface Curve4<T : Number, Comparable<T>>

A curve in 3D space in rational form.

Link copied to clipboard

Type of curve.

Link copied to clipboard
interface Surface<T : Number, Comparable<T>>

A surface.

Link copied to clipboard
interface Surface3<T : Number, Comparable<T>> : Surface<T>

A surface in 3D space.

Link copied to clipboard
interface Surface4<T : Number, Comparable<T>> : Surface<T>

A surface in 3D space in rational form.

Link copied to clipboard

Triangulation of a surface.

Functions

Link copied to clipboard
inline fun <T : Number, Comparable<T>> BezierCurve2(vararg controlPoints: <Error class: unknown class><T>): BezierCurve2<T>
inline fun <T : Number, Comparable<T>> BezierCurve2(controlPoints: List<<Error class: unknown class><T>>): BezierCurve2<T>

Returns a new BezierCurve2 with given controlPoints.

Link copied to clipboard
inline fun <T : Number, Comparable<T>> BezierCurve3(vararg controlPoints: <Error class: unknown class><T>): BezierCurve3<T>
inline fun <T : Number, Comparable<T>> BezierCurve3(controlPoints: List<<Error class: unknown class><T>>): BezierCurve3<T>

Returns a new BezierCurve3 with given controlPoints.

Link copied to clipboard
inline fun <T : Number, Comparable<T>> BezierCurve4(vararg controlPoints: <Error class: unknown class><T>): BezierCurve4<T>
inline fun <T : Number, Comparable<T>> BezierCurve4(controlPoints: List<<Error class: unknown class><T>>): BezierCurve4<T>

Returns a new BezierCurve4 with given controlPoints.

Link copied to clipboard
inline fun <T : Number, Comparable<T>> BSplineCurve2(controlPoints: List<<Error class: unknown class><T>>, knots: List<T>): BSplineCurve2<T>

Returns a new BSplineCurve2 with given controlPoints and knots.

Link copied to clipboard
inline fun <T : Number, Comparable<T>> BSplineCurve3(controlPoints: List<<Error class: unknown class><T>>, knots: List<T>): BSplineCurve3<T>

Returns a new BSplineCurve3 with given controlPoints and knots.

Link copied to clipboard
inline fun <T : Number, Comparable<T>> BSplineCurve4(controlPoints: List<<Error class: unknown class><T>>, knots: List<T>): BSplineCurve4<T>

Returns a new BSplineCurve2 with given controlPoints and knots.