public class ParametricCurve
Parametric curve with two components (x and y). These curves are reparameterized from an internal parameter (t) to the arc length parameter (s).
public ParametricCurve()
Parametric curve with two components (x and y). These curves are reparameterized from an internal parameter (t) to the arc length parameter (s).
@JvmOverloads @NotNull public Vector2d get(double s, double t)
Returns the vector s
units along the curve.
s
@JvmOverloads @NotNull public Vector2d get(double s)
Returns the vector s
units along the curve.
s
@JvmOverloads @NotNull public Vector2d deriv(double s, double t)
Returns the derivative s
units along the curve.
s
@JvmOverloads @NotNull public Vector2d deriv(double s)
Returns the derivative s
units along the curve.
s
@JvmOverloads @NotNull public Vector2d secondDeriv(double s, double t)
Returns the second derivative s
units along the curve.
s
@JvmOverloads @NotNull public Vector2d secondDeriv(double s)
Returns the second derivative s
units along the curve.
s
@JvmOverloads @NotNull public Vector2d thirdDeriv(double s, double t)
Returns the third derivative s
units along the curve.
s
@JvmOverloads @NotNull public Vector2d thirdDeriv(double s)
Returns the third derivative s
units along the curve.
s
@NotNull public Vector2d start()
Returns the start vector.
@NotNull public Vector2d startDeriv()
Returns the start derivative.
@NotNull public Vector2d startSecondDeriv()
Returns the start second derivative.
@NotNull public Vector2d startThirdDeriv()
Returns the start third derivative.
@NotNull public Vector2d end()
Returns the end vector.
@NotNull public Vector2d endDeriv()
Returns the end derivative.
@NotNull public Vector2d endSecondDeriv()
Returns the end second derivative.
@NotNull public Vector2d endThirdDeriv()
Returns the end third derivative.
@JvmOverloads public double tangentAngle(double s, double t)
Returns the angle of the tangent line s
units along the curve.
s
@JvmOverloads public double tangentAngle(double s)
Returns the angle of the tangent line s
units along the curve.
s
@JvmOverloads public double tangentAngleDeriv(double s, double t)
Returns the derivative of the tangent angle s
units along the curve.
s
@JvmOverloads public double tangentAngleDeriv(double s)
Returns the derivative of the tangent angle s
units along the curve.
s
@JvmOverloads public double tangentAngleSecondDeriv(double s, double t)
Returns the second derivative of the tangent angle s
units along the curve.
s
@JvmOverloads public double tangentAngleSecondDeriv(double s)
Returns the second derivative of the tangent angle s
units along the curve.
s
public double length()
Returns the length of the curve.