|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.datatypes.A_Deviation<DeviationFree>
uavsim.datatypes.DeviationFree
public class DeviationFree
Defines a percent deviation from zero on the interval [-1,+1]. This variant, unlike Deviation, does not consider a value off this interval to be an error.
| Field Summary |
|---|
| Fields inherited from class uavsim.datatypes.A_Deviation |
|---|
_deviation, DEVIATION_MAX, DEVIATION_MIN |
| Constructor Summary | |
|---|---|
DeviationFree(double deviation)
Creates a deviation object. |
|
DeviationFree(double deviation,
boolean isClamped)
Creates a deviation object. |
|
| Method Summary | |
|---|---|
DeviationFree |
add_(DeviationFree deviation)
Adds another unit to this one. |
Deviation |
convertToDeviation()
Converts this deviation to a Deviation. |
protected void |
setValue(double deviation)
Sets the deviation. |
DeviationFree |
subtract_(DeviationFree deviation)
Subtract another unit from this one. |
| Methods inherited from class uavsim.datatypes.A_Deviation |
|---|
compareTo, getValue_, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DeviationFree(double deviation)
deviation - - the deviation
public DeviationFree(double deviation,
boolean isClamped)
deviation - - the deviation on the interval [-1,+1].isClamped - - zzz| Method Detail |
|---|
public DeviationFree add_(DeviationFree deviation)
deviation - - the unit
public Deviation convertToDeviation()
protected void setValue(double deviation)
setValue in class A_Deviation<DeviationFree>deviation - - the deviationpublic DeviationFree subtract_(DeviationFree deviation)
deviation - - the unit
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||