public final class HorizontalBehaviorDerivatives extends Object implements IEquatable<HorizontalBehaviorDerivatives>, ImmutableValueType
Constructor and Description |
---|
HorizontalBehaviorDerivatives()
Initializes a new instance.
|
HorizontalBehaviorDerivatives(ManeuverReferenceAxes maneuverReferenceAxes,
double angularRate)
Initializes the horizontal derivatives with respect to the indicated maneuver axes.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
equals(HorizontalBehaviorDerivatives left,
HorizontalBehaviorDerivatives right)
Returns
true if the two instances are exactly equal. |
boolean |
equals(Object obj)
Indicates whether another object is exactly equal to this instance.
|
boolean |
equalsType(HorizontalBehaviorDerivatives other)
Indicates whether another instance of this type is exactly equal to this instance.
|
double |
getAngularRate()
Gets the rate of change of the angular reference in the horizontal plane.
|
ManeuverReferenceAxes |
getManeuverReferenceAxes()
Gets the axes in which the horizontal behavior of a maneuver is defined.
|
int |
hashCode()
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
|
static boolean |
notEquals(HorizontalBehaviorDerivatives left,
HorizontalBehaviorDerivatives right)
Returns
true if the two instances are not exactly equal. |
public HorizontalBehaviorDerivatives()
public HorizontalBehaviorDerivatives(@Nonnull ManeuverReferenceAxes maneuverReferenceAxes, double angularRate)
maneuverReferenceAxes
- The axes in which the horizontal behavior of a maneuver is definedangularRate
- The rate of change of the angular reference in the horizontal plane.@Nonnull public final ManeuverReferenceAxes getManeuverReferenceAxes()
public final double getAngularRate()
The angular reference is the true course if the ManeuverReferenceAxes
(get
) is ManeuverReferenceAxes.STATIC_ATMOSPHERE
.
The angular reference is the true heading if the ManeuverReferenceAxes
(get
) is ManeuverReferenceAxes.MOVING_ATMOSPHERE
.
public boolean equals(Object obj)
equals
in class Object
obj
- The object to compare to this instance.true
if obj
is an instance of this type and represents the same value as this instance; otherwise false
.Object.hashCode()
,
HashMap
public final boolean equalsType(@Nonnull HorizontalBehaviorDerivatives other)
equalsType
in interface IEquatable<HorizontalBehaviorDerivatives>
other
- The instance to compare to this instance.true
if other
represents the same value as this instance; otherwise false
.public int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
public static boolean equals(@Nonnull HorizontalBehaviorDerivatives left, @Nonnull HorizontalBehaviorDerivatives right)
true
if the two instances are exactly equal.left
- The instance to compare to right
.right
- The instance to compare to left
.true
if left
represents the same value as right
; otherwise false
.public static boolean notEquals(@Nonnull HorizontalBehaviorDerivatives left, @Nonnull HorizontalBehaviorDerivatives right)
true
if the two instances are not exactly equal.left
- The instance to compare to right
.right
- The instance to compare to left
.true
if left
does not represent the same value as right
; otherwise false
.