public static class GuidingVectorField.GVFResult
Container for the direction of the GVF and intermediate values used in its computation.
Constructor and Description |
---|
GVFResult(Vector2d vector,
Vector2d pathPoint,
double displacement,
double error)
Container for the direction of the GVF and intermediate values used in its computation.
|
Modifier and Type | Method and Description |
---|---|
Vector2d |
component1()
normalized direction vector of the GVF
|
Vector2d |
component2()
point on the path from the projection
|
double |
component3()
displacement along the path of
|
double |
component4()
signed cross track error
|
GuidingVectorField.GVFResult |
copy(Vector2d vector,
Vector2d pathPoint,
double displacement,
double error)
Container for the direction of the GVF and intermediate values used in its computation.
|
boolean |
equals(java.lang.Object p) |
double |
getDisplacement()
displacement along the path of
|
double |
getError()
signed cross track error
|
Vector2d |
getPathPoint()
point on the path from the projection
|
Vector2d |
getVector()
normalized direction vector of the GVF
|
int |
hashCode() |
java.lang.String |
toString() |
public GVFResult(@NotNull Vector2d vector, @NotNull Vector2d pathPoint, double displacement, double error)
Container for the direction of the GVF and intermediate values used in its computation.
vector
- normalized direction vector of the GVFpathPoint
- point on the path from the projectiondisplacement
- displacement along the path of pathPointerror
- signed cross track error (distance between pathPoint and the query point)@NotNull public Vector2d getVector()
normalized direction vector of the GVF
@NotNull public Vector2d getPathPoint()
point on the path from the projection
public double getDisplacement()
displacement along the path of
pathPoint
public double getError()
signed cross track error
(distance between pathPoint and the query point)
@NotNull public Vector2d component1()
normalized direction vector of the GVF
@NotNull public Vector2d component2()
point on the path from the projection
public double component3()
displacement along the path of
pathPoint
public double component4()
signed cross track error
(distance between pathPoint and the query point)
@NotNull public GuidingVectorField.GVFResult copy(@NotNull Vector2d vector, @NotNull Vector2d pathPoint, double displacement, double error)
Container for the direction of the GVF and intermediate values used in its computation.
vector
- normalized direction vector of the GVFpathPoint
- point on the path from the projectiondisplacement
- displacement along the path of pathPointerror
- signed cross track error (distance between pathPoint and the query point)@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable java.lang.Object p)