Constructor and Description |
---|
ProjectionResult(double displacement,
double distance)
Simple container for the result of a projection (i.e., a
project call). |
Modifier and Type | Method and Description |
---|---|
double |
component1()
displacement along the path
|
double |
component2()
Euclidean distance between the path and query points
|
Path.ProjectionResult |
copy(double displacement,
double distance)
Simple container for the result of a projection (i.e., a
project call). |
boolean |
equals(java.lang.Object p) |
double |
getDisplacement()
displacement along the path
|
double |
getDistance()
Euclidean distance between the path and query points
|
int |
hashCode() |
java.lang.String |
toString() |
public double getDisplacement()
displacement along the path
public double getDistance()
Euclidean distance between the path and query points
public double component1()
displacement along the path
public double component2()
Euclidean distance between the path and query points
@NotNull public Path.ProjectionResult copy(double displacement, double distance)
Simple container for the result of a projection (i.e., a project
call).
displacement
- displacement along the pathdistance
- Euclidean distance between the path and query pointsproject
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable java.lang.Object p)