setComponents

public void setComponents(double magnitude, double theta)

This sets the components of the Vector in regular vector coordinates.

Parameters

magnitude

sets the magnitude of this Vector.

theta

sets the theta value of this Vector.