public final class IauOrientationParameters extends Object implements IEquatable<IauOrientationParameters>
These values correspond to what is released by the IAU/IAG Working Group on Cartographic Coordinates and Rotational Elements, with two notable exceptions: the values are in radians as opposed to degrees, and the analytical models are computed in terrestrial time as opposed to barycentric dynamical time.
Constructor and Description |
---|
IauOrientationParameters(double rightAscension,
double declination,
double rotation,
double rotationRate)
Instantiate a new instance.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
equals(IauOrientationParameters left,
IauOrientationParameters 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(IauOrientationParameters other)
Indicates whether another instance of this type is exactly equal to this instance.
|
double |
getDeclination()
Gets the declination of the north pole of the body with respect to
the International Celestial Reference Frame, in radians.
|
double |
getRightAscension()
Gets the right ascension of the north pole of the body with respect to
the International Celestial Reference Frame, in radians.
|
double |
getRotation()
Gets the rotation about the north pole used to align a set of axes
with the meridian defined by the IAU report, in radians.
|
double |
getRotationRate()
Gets the instantaneous rotation rate about the north pole, in radians per second.
|
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(IauOrientationParameters left,
IauOrientationParameters right)
Returns
true if the two instances are not exactly equal. |
public IauOrientationParameters(double rightAscension, double declination, double rotation, double rotationRate)
rightAscension
- The right ascension of the pole, in radians.declination
- The declination of the pole, in radians.rotation
- The rotation about the pole, in radians.rotationRate
- The rotation rate about the pole, in radians per second.public final double getRightAscension()
public final double getDeclination()
public final double getRotation()
public final double getRotationRate()
public final boolean equalsType(IauOrientationParameters other)
equalsType
in interface IEquatable<IauOrientationParameters>
other
- The instance to compare to this instance.true
if other
represents the same value as this instance; otherwise false
.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 int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
public static boolean equals(IauOrientationParameters left, IauOrientationParameters 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(IauOrientationParameters left, IauOrientationParameters 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
.