Package org.orekit.files.ccsds.ndm.tdm
Class IdentityConverter
- java.lang.Object
-
- org.orekit.files.ccsds.ndm.tdm.IdentityConverter
-
- All Implemented Interfaces:
RangeUnitsConverter
public class IdentityConverter extends Object implements RangeUnitsConverter
Identity converter for Range Units.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description IdentityConverter()
Empty constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
metersToRu(TdmMetadata metadata, AbsoluteDate date, double range)
Convert a range expressed in meters.double
ruToMeters(TdmMetadata metadata, AbsoluteDate date, double range)
Convert a range expressed inRange Units
.
-
-
-
Method Detail
-
ruToMeters
public double ruToMeters(TdmMetadata metadata, AbsoluteDate date, double range)
Convert a range expressed inRange Units
.- Specified by:
ruToMeters
in interfaceRangeUnitsConverter
- Parameters:
metadata
- metadata corresponding to the observationdate
- observation daterange
- range value inRange Units
- Returns:
- range range value in meters
-
metersToRu
public double metersToRu(TdmMetadata metadata, AbsoluteDate date, double range)
Convert a range expressed in meters.- Specified by:
metersToRu
in interfaceRangeUnitsConverter
- Parameters:
metadata
- metadata corresponding to the observationdate
- observation daterange
- range value in meters- Returns:
- range range value in
Range Units
-
-