abstract class ParametricCurve
Parametric curve with two components (x and y).
ParametricCurve()
Parametric curve with two components (x and y). |
fun deriv(displacement: Double): Vector2d
Returns the derivative displacement units along the curve. |
|
fun end(): Vector2d
Returns the end vector. |
|
fun endDeriv(): Vector2d
Returns the end derivative. |
|
fun endSecondDeriv(): Vector2d
Returns the end second derivative. |
|
fun endThirdDeriv(): Vector2d
Returns the end third derivative. |
|
operator fun get(displacement: Double): Vector2d
Returns the vector displacement units along the curve. |
|
abstract fun length(): Double
Returns the length of the curve. |
|
fun secondDeriv(displacement: Double): Vector2d
Returns the second derivative displacement units along the curve. |
|
fun start(): Vector2d
Returns the start vector. |
|
fun startDeriv(): Vector2d
Returns the start derivative. |
|
fun startSecondDeriv(): Vector2d
Returns the start second derivative. |
|
fun startThirdDeriv(): Vector2d
Returns the start third derivative. |
|
fun tangentAngle(displacement: Double): Double
Returns the angle of the tangent line displacement units along the curve. |
|
fun tangentAngleDeriv(displacement: Double): Double
Returns the derivative of the tangent angle displacement units along the curve. |
|
fun tangentAngleSecondDeriv(displacement: Double): Double
Returns the second derivative of the tangent angle displacement units along the curve. |
|
fun thirdDeriv(displacement: Double): Vector2d
Returns the third derivative displacement units along the curve. |
class LineSegment : ParametricCurve
Parametric representation of a line. |
|
class NthDegreeSplineSegment : ParametricCurve
Combination of two quintic polynomials into a 2D spline. |
|
class QuinticSplineSegment : ParametricCurve
Combination of two quintic polynomials into a 2D quintic spline. See this short paper for some motivation and implementation details. |