public class Vector2D
Represents a vector on a 2-dimensional space.
public double
x
y
Vector2D(double x, double y)
double
magnitude()
void
Rotate(double angleRadians)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
double magnitude()
Retrieves the vector magnitude (length)
void Rotate(double angleRadians)
Rotates the X,Y coordinates.
angleRadians