Vector

public void Vector()

This creates a new Vector with zero magnitude and direction.


public void Vector(Point point)


public void Vector(double magnitude, double theta)

This creates a new Vector with a specified magnitude and direction.

Parameters

magnitude

magnitude of the Vector.

theta

the direction of the Vector in radians.