public static class OrekitEphemerisFile.OrekitSatelliteEphemeris extends Object implements EphemerisFile.SatelliteEphemeris
OrekitEphemerisFile
that defines the
OrekitEphemerisFile.OrekitSatelliteEphemeris
corresponding object for this ephemeris type.Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_INTERPOLATION_SIZE
Defines the default interpolation sample size if it is not specified
on a segment.
|
Constructor and Description |
---|
OrekitSatelliteEphemeris(String id)
Standard constructor for building the satellite Ephemeris object.
|
Modifier and Type | Method and Description |
---|---|
OrekitEphemerisFile.OrekitEphemerisSegment |
addNewSegment(List<SpacecraftState> states)
Injects pre-computed satellite states into this ephemeris file
object, returning the generated
OrekitEphemerisFile.OrekitEphemerisSegment that
has been stored internally. |
OrekitEphemerisFile.OrekitEphemerisSegment |
addNewSegment(List<SpacecraftState> states,
CelestialBody body,
int interpolationSampleSize)
Injects pre-computed satellite states into this ephemeris file
object, returning the generated
OrekitEphemerisFile.OrekitEphemerisSegment that
has been stored internally. |
OrekitEphemerisFile.OrekitEphemerisSegment |
addNewSegment(List<SpacecraftState> states,
int interpolationSampleSize)
Injects pre-computed satellite states into this ephemeris file
object, returning the generated
OrekitEphemerisFile.OrekitEphemerisSegment that
has been stored internally. |
String |
getId()
Get the satellite ID.
|
double |
getMu()
Get the standard gravitational parameter for the satellite.
|
List<? extends EphemerisFile.EphemerisSegment> |
getSegments()
Get the segments of the ephemeris.
|
AbsoluteDate |
getStart()
Get the start date of the ephemeris.
|
AbsoluteDate |
getStop()
Get the end date of the ephemeris.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPropagator
public static final int DEFAULT_INTERPOLATION_SIZE
public OrekitSatelliteEphemeris(String id)
id
- the ID of the space object for this datapublic String getId()
EphemerisFile.SatelliteEphemeris
getId
in interface EphemerisFile.SatelliteEphemeris
null
.public double getMu()
EphemerisFile.SatelliteEphemeris
getMu
in interface EphemerisFile.SatelliteEphemeris
EphemerisFile.SatelliteEphemeris.getPropagator()
, in m^3 /
s^2.public List<? extends EphemerisFile.EphemerisSegment> getSegments()
EphemerisFile.SatelliteEphemeris
Ephemeris segments are typically used to split an ephemeris around discontinuous events, such as maneuvers.
getSegments
in interface EphemerisFile.SatelliteEphemeris
public AbsoluteDate getStart()
EphemerisFile.SatelliteEphemeris
The date returned by this method is equivalent to getPropagator().getMinDate()
.
getStart
in interface EphemerisFile.SatelliteEphemeris
public AbsoluteDate getStop()
EphemerisFile.SatelliteEphemeris
The date returned by this method is equivalent to getPropagator().getMaxDate()
.
getStop
in interface EphemerisFile.SatelliteEphemeris
public OrekitEphemerisFile.OrekitEphemerisSegment addNewSegment(List<SpacecraftState> states) throws OrekitException
OrekitEphemerisFile.OrekitEphemerisSegment
that
has been stored internally. Defaults the celestial body to earth and
the interpolation size to the default.states
- a list of SpacecraftState
that will comprise this
new unit.OrekitEphemerisFile.OrekitEphemerisSegment
OrekitException
- if there is an exception in time or frame transformationspublic OrekitEphemerisFile.OrekitEphemerisSegment addNewSegment(List<SpacecraftState> states, int interpolationSampleSize) throws OrekitException
OrekitEphemerisFile.OrekitEphemerisSegment
that
has been stored internally. Defaults the Celestial Body to be Earthsstates
- a list of SpacecraftState
that will comprise this
new unit.interpolationSampleSize
- the number of interpolation samples that should be used
when processed by another systemOrekitEphemerisFile.OrekitEphemerisSegment
OrekitException
- if there is an exception in time or frame transformationspublic OrekitEphemerisFile.OrekitEphemerisSegment addNewSegment(List<SpacecraftState> states, CelestialBody body, int interpolationSampleSize) throws OrekitException
OrekitEphemerisFile.OrekitEphemerisSegment
that
has been stored internally.states
- a list of SpacecraftState
that will comprise this
new unit.body
- the celestial body the state's frames are with respect tointerpolationSampleSize
- the number of interpolation samples that should be used
when processed by another systemOrekitEphemerisFile.OrekitEphemerisSegment
OrekitException
- if there is an exception in time or frame transformationsCopyright © 2002-2017 CS Systèmes d'information. All rights reserved.