class LineSegment : ParametricCurve
Parametric representation of a line.
LineSegment(start: Vector2d, end: Vector2d)
Parametric representation of a line. |
fun length(): Double
Returns the length of the curve. |
|
fun toString(): String |
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. |
|
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. |