|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.datatypes.A_Attitude<_TYPE_>
_TYPE_ - - the attitude type: pitch, roll, or yawpublic abstract class A_Attitude<_TYPE_ extends A_Attitude<?>>
Defines the shared aspects of a degree of attitude freedom.
| Field Summary | |
|---|---|
protected double |
_angleDegrees
the angle in degrees |
| Constructor Summary | |
|---|---|
A_Attitude()
|
|
| Method Summary | |
|---|---|
int |
compareTo(_TYPE_ attitude)
|
AngleMathematical |
getAngleMathematical()
Gets the angle in mathematical degrees. |
AngleNavigational |
getAngleNavigational()
Gets the angle in navigational degrees. |
double |
getAngleRadians()
Gets the roll angle in radians. |
double |
getValue_()
Returns the numerical value of this unit. |
protected abstract void |
setAngle(double angleDegrees)
Sets the roll angle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface uavsim.datatypes.I_Unitable |
|---|
add_, subtract_ |
| Field Detail |
|---|
protected double _angleDegrees
| Constructor Detail |
|---|
public A_Attitude()
| Method Detail |
|---|
public int compareTo(_TYPE_ attitude)
compareTo in interface java.lang.Comparable<_TYPE_ extends A_Attitude<?>>public AngleMathematical getAngleMathematical()
public AngleNavigational getAngleNavigational()
public double getAngleRadians()
public double getValue_()
getValue_ in interface I_Unitable<_TYPE_ extends A_Attitude<?>>protected abstract void setAngle(double angleDegrees)
angleDegrees - - the angle, which is internally normalized as defined in the class description
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||