Package org.orekit.files.ilrs
Class CRD.AnglesMeasurement
- java.lang.Object
-
- org.orekit.files.ilrs.CRD.AnglesMeasurement
-
- All Implemented Interfaces:
TimeStamped
- Enclosing class:
- CRD
public static class CRD.AnglesMeasurement extends Object implements TimeStamped
Pointing angles record.
-
-
Constructor Summary
Constructors Constructor Description AnglesMeasurement(AbsoluteDate date, double azimuth, double elevation, int directionFlag, int originIndicator, boolean refractionCorrected, double azimuthRate, double elevationRate)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAzimuth()
Get the azimuth angle.double
getAzimuthRate()
Get the azimuth rate.AbsoluteDate
getDate()
Get the date.int
getDirectionFlag()
Get the direction flag (0 = transmit & receive ; 1 = transmit ; 2 = receive).double
getElevation()
Get the elevation angle.double
getElevationRate()
Get the elevation rate.int
getOriginIndicator()
Get the angle origin indicator.boolean
isRefractionCorrected()
Get the flag indicating if the refraction is corrected.String
toCrdString()
Get a string representation of the instance in the CRD format.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.orekit.time.TimeStamped
durationFrom
-
-
-
-
Constructor Detail
-
AnglesMeasurement
public AnglesMeasurement(AbsoluteDate date, double azimuth, double elevation, int directionFlag, int originIndicator, boolean refractionCorrected, double azimuthRate, double elevationRate)
Constructor.- Parameters:
date
- data epochazimuth
- azimuth angle in radianselevation
- elevation angle in radiansdirectionFlag
- direction flagoriginIndicator
- angle origin indicatorrefractionCorrected
- flag to indicate if the refraction is correctedazimuthRate
- azimuth rate in radians per second (equal to Double.NaN if unknown)elevationRate
- elevation rate in radians per second (equal to Double.NaN if unknown)
-
-
Method Detail
-
getAzimuth
public double getAzimuth()
Get the azimuth angle.- Returns:
- the azimuth angle in radians
-
getElevation
public double getElevation()
Get the elevation angle.- Returns:
- the elevation angle in radians
-
getDirectionFlag
public int getDirectionFlag()
Get the direction flag (0 = transmit & receive ; 1 = transmit ; 2 = receive).- Returns:
- the direction flag
-
getOriginIndicator
public int getOriginIndicator()
Get the angle origin indicator.0 = unknown; 1 = computed; 2 = commanded (from predictions); 3 = measured (from encoders)
- Returns:
- the angle origin indicator
-
isRefractionCorrected
public boolean isRefractionCorrected()
Get the flag indicating if the refraction is corrected.- Returns:
- true if refraction is corrected
-
getAzimuthRate
public double getAzimuthRate()
Get the azimuth rate.Is equal to Double.NaN if the value is unknown.
- Returns:
- the azimuth rate in radians per second
-
getElevationRate
public double getElevationRate()
Get the elevation rate.Is equal to Double.NaN if the value is unknown.
- Returns:
- the elevation rate in radians per second
-
getDate
public AbsoluteDate getDate()
Get the date.- Specified by:
getDate
in interfaceTimeStamped
- Returns:
- date attached to the object
-
toCrdString
@DefaultDataContext public String toCrdString()
Get a string representation of the instance in the CRD format.- Returns:
- a string representation of the instance, in the CRD format.
- Since:
- 12.0
-
toString
@DefaultDataContext public String toString()
-
-