Vector2D.Unit |
AffineTransformMatrix2D.applyDirection(Vector2D vec) |
Apply this transform to the given vector, ignoring translations and normalizing the
result.
|
Vector2D.Unit |
Vector2D.directionTo(Vector2D v) |
Return the unit vector representing the direction of displacement from this
vector to the given vector.
|
static Vector2D.Unit |
Vector2D.Unit.from(double x,
double y) |
Create a normalized vector.
|
static Vector2D.Unit |
Vector2D.Unit.from(Vector2D v) |
Create a normalized vector.
|
Vector2D.Unit |
Line.getDirection() |
Get the direction of the line.
|
Vector2D.Unit |
Vector2D.Unit.negate() |
Get the negation of the instance.
|
Vector2D.Unit |
Vector2D.normalize() |
Get a normalized vector aligned with the instance.
|
Vector2D.Unit |
Vector2D.Unit.normalize() |
Get a normalized vector aligned with the instance.
|
Vector2D.Unit |
Vector2D.normalizeOrNull() |
Attempt to compute a normalized vector aligned with the instance, returning null if
such a vector cannot be computed.
|
Vector2D.Unit |
Vector2D.Unit.normalizeOrNull() |
Attempt to compute a normalized vector aligned with the instance, returning null if
such a vector cannot be computed.
|
Vector2D.Unit |
Vector2D.orthogonal() |
Get a unit vector orthogonal to the instance.
|
Vector2D.Unit |
Vector2D.orthogonal(Vector2D dir) |
Get a unit vector orthogonal to the current vector and pointing in the direction
of dir .
|
Vector2D.Unit |
Vector2D.Unit.orthogonal() |
Get a unit vector orthogonal to the instance.
|
private static Vector2D.Unit |
Vector2D.Unit.tryCreateNormalized(double x,
double y,
boolean throwOnFailure) |
Attempt to create a normalized vector from the given coordinate values.
|