public class TurnVector
extends java.lang.Object
| Constructor and Description |
|---|
TurnVector()
Default constructor.
|
TurnVector(double distance,
double angle)
Creates a new TurnVector from angle and distance coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
double |
getAngle()
Get the magnitude of the angle dimension in radians
|
double |
getDistance()
Returns the magnitude of the distance dimension.
|
void |
setAngle(double newAngle)
Sets the magnitude of the angle dimension.
|
void |
setDistance(double newDistance)
Sets the magnitude of the distance dimension.
|
public TurnVector()
public TurnVector(double distance,
double angle)
public double getAngle()
public void setAngle(double newAngle)
public double getDistance()
public void setDistance(double newDistance)
public java.lang.Object clone()
clone in class java.lang.Object