class QuinticSpline : ParametricCurve
(source)
Combination of two quintic polynomials into a 2D quintic spline. See this short paper for some motivation and implementation details.
maxDeltaK
- maximum change in curvature between arc length param segments
maxSegmentLength
- maximum length of a single param segment
maxDepth
- maximum stack depth
Knot |
Class for representing the end points of interpolated quintic splines. class Knot |
<init> |
Combination of two quintic polynomials into a 2D quintic spline. See this short paper for some motivation and implementation details. QuinticSpline(start: Knot, end: Knot, maxDeltaK: Double = 0.01, maxSegmentLength: Double = 0.25, maxDepth: Int = 30) |
x |
X polynomial (i.e., x(t)) val x: QuinticPolynomial |
y |
Y polynomial (i.e., y(t)) val y: QuinticPolynomial |
length |
Returns the length of the curve. fun length(): Double |
toString |
fun toString(): String |