public static class QuinticSpline.Waypoint
Class for representing the end points of interpolated quintic splines.
Constructor and Description |
---|
Waypoint(double x,
double y,
double dx,
double dy,
double d2x,
double d2y)
Class for representing the end points of interpolated quintic splines.
|
Waypoint(double x,
double y,
double dx,
double dy,
double d2x)
Class for representing the end points of interpolated quintic splines.
|
Waypoint(double x,
double y,
double dx,
double dy)
Class for representing the end points of interpolated quintic splines.
|
Waypoint(double x,
double y,
double dx)
Class for representing the end points of interpolated quintic splines.
|
Waypoint(double x,
double y)
Class for representing the end points of interpolated quintic splines.
|
Waypoint(Vector2d pos,
Vector2d deriv,
Vector2d secondDeriv) |
Waypoint(Vector2d pos,
Vector2d deriv) |
Waypoint(Vector2d pos) |
Modifier and Type | Method and Description |
---|---|
Vector2d |
deriv() |
double |
getD2x()
x second derivative
|
double |
getD2y()
y second derivative
|
double |
getDx()
x derivative
|
double |
getDy()
y derivative
|
double |
getX()
x position
|
double |
getY()
y position
|
Vector2d |
pos() |
Vector2d |
secondDeriv() |
@JvmOverloads public Waypoint(double x, double y, double dx, double dy, double d2x, double d2y)
Class for representing the end points of interpolated quintic splines.
x
- x positiony
- y positiondx
- x derivativedy
- y derivatived2x
- x second derivatived2y
- y second derivative@JvmOverloads public Waypoint(double x, double y, double dx, double dy, double d2x)
Class for representing the end points of interpolated quintic splines.
x
- x positiony
- y positiondx
- x derivativedy
- y derivatived2x
- x second derivative@JvmOverloads public Waypoint(double x, double y, double dx, double dy)
Class for representing the end points of interpolated quintic splines.
x
- x positiony
- y positiondx
- x derivativedy
- y derivative@JvmOverloads public Waypoint(double x, double y, double dx)
Class for representing the end points of interpolated quintic splines.
x
- x positiony
- y positiondx
- x derivative@JvmOverloads public Waypoint(double x, double y)
Class for representing the end points of interpolated quintic splines.
x
- x positiony
- y position@JvmOverloads public Waypoint(@NotNull Vector2d pos, @NotNull Vector2d deriv, @NotNull Vector2d secondDeriv)
@JvmOverloads public Waypoint(@NotNull Vector2d pos)
@NotNull public Vector2d pos()
@NotNull public Vector2d deriv()
@NotNull public Vector2d secondDeriv()
public double getX()
x position
public double getY()
y position
public double getDx()
x derivative
public double getDy()
y derivative
public double getD2x()
x second derivative
public double getD2y()
y second derivative