Curve2

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

A curve in 2D space.

Since

v2.0.0

Inheritors

Types

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

Builder of curves in 2D space.

Functions

Link copied to clipboard
abstract operator fun get(parameterValue: T): <Error class: unknown class><T>

Returns point on this curve at a given parameterValue.

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

Returns this curve, but defined in 3D space.

Link copied to clipboard
abstract fun toInterpolator(): Interpolator<T, <Error class: unknown class><T>>

Returns an interpolator using points on this curve as values.

Link copied to clipboard
abstract fun toPolygonalChain(parameterValues: Sequence<T>): PolygonalChain2<T>

Returns polygonal chain approximating this curve.

Properties

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

Control points defining this curve.

Link copied to clipboard
abstract val degree: Int

Degree of this curve.

Link copied to clipboard
abstract val type: KClass<T>

Type of coordinates in this curve.