public class Bearing
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private float |
degrees |
private boolean |
isSet |
| Constructor and Description |
|---|
Bearing()
Constructor for bearing object.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getDegrees()
Returns bearing in degrees.
|
boolean |
isSet()
Returns if Bearing is set or not.
|
void |
reSet()
Reset the bearing
|
void |
setDegrees(float degrees)
Set degrees of bearing.
|
void |
setSet()
Sets whether degrees is set or not to true.
|
public boolean isSet()
public void reSet()
public void setSet()
public float getDegrees()
public void setDegrees(float degrees)
degrees - bearing to north in degrees.