public class LineSegment
extends ParametricCurve
Parametric representation of a line.
Constructor and Description |
---|
LineSegment(Vector2d start,
Vector2d end)
Parametric representation of a line.
|
Modifier and Type | Method and Description |
---|---|
double |
displacementToParameter$module(double displacement) |
Vector2d |
internalDeriv$module(double t) |
Vector2d |
internalGet$module(double t) |
Vector2d |
internalSecondDeriv$module(double t) |
Vector2d |
internalThirdDeriv$module(double t) |
double |
length()
Returns the length of the curve.
|
double |
parameterDeriv$module(double t) |
double |
parameterSecondDeriv$module(double t) |
double |
parameterThirdDeriv$module(double t) |
java.lang.String |
toString() |
deriv, end, endDeriv, endSecondDeriv, endThirdDeriv, get, length, secondDeriv, start, startDeriv, startSecondDeriv, startThirdDeriv, tangentAngle, tangentAngleDeriv, tangentAngleSecondDeriv, thirdDeriv
public double length()
Returns the length of the curve.
public Vector2d internalGet$module(double t)
public Vector2d internalDeriv$module(double t)
public Vector2d internalSecondDeriv$module(double t)
public Vector2d internalThirdDeriv$module(double t)
public double displacementToParameter$module(double displacement)
public double parameterDeriv$module(double t)
public double parameterSecondDeriv$module(double t)
public double parameterThirdDeriv$module(double t)
public java.lang.String toString()