public static class OrekitEphemerisFile.OrekitSatelliteEphemeris extends Object implements EphemerisFile.SatelliteEphemeris<TimeStampedPVCoordinates,OrekitEphemerisFile.OrekitEphemerisSegment>
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,
CelestialBody body,
int interpolationSampleSize,
TimeScale timeScale)
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<OrekitEphemerisFile.OrekitEphemerisSegment> |
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()
getId
in interface EphemerisFile.SatelliteEphemeris<TimeStampedPVCoordinates,OrekitEphemerisFile.OrekitEphemerisSegment>
null
.public double getMu()
getMu
in interface EphemerisFile.SatelliteEphemeris<TimeStampedPVCoordinates,OrekitEphemerisFile.OrekitEphemerisSegment>
EphemerisFile.SatelliteEphemeris.getPropagator()
, in m³/s².public List<OrekitEphemerisFile.OrekitEphemerisSegment> getSegments()
Ephemeris segments are typically used to split an ephemeris around discontinuous events, such as maneuvers.
getSegments
in interface EphemerisFile.SatelliteEphemeris<TimeStampedPVCoordinates,OrekitEphemerisFile.OrekitEphemerisSegment>
public AbsoluteDate getStart()
The date returned by this method is equivalent to getPropagator().getMinDate()
.
getStart
in interface EphemerisFile.SatelliteEphemeris<TimeStampedPVCoordinates,OrekitEphemerisFile.OrekitEphemerisSegment>
public AbsoluteDate getStop()
The date returned by this method is equivalent to getPropagator().getMaxDate()
.
getStop
in interface EphemerisFile.SatelliteEphemeris<TimeStampedPVCoordinates,OrekitEphemerisFile.OrekitEphemerisSegment>
@DefaultDataContext public OrekitEphemerisFile.OrekitEphemerisSegment addNewSegment(List<SpacecraftState> states)
OrekitEphemerisFile.OrekitEphemerisSegment
that
has been stored internally. Defaults the celestial body to earth and
the interpolation size to the default.
This method uses the default data context
.
states
- a list of SpacecraftState
that will comprise this
new unit.OrekitEphemerisFile.OrekitEphemerisSegment
addNewSegment(List, CelestialBody, int, TimeScale)
@DefaultDataContext public OrekitEphemerisFile.OrekitEphemerisSegment addNewSegment(List<SpacecraftState> states, int interpolationSampleSize)
OrekitEphemerisFile.OrekitEphemerisSegment
that
has been stored internally. Defaults the Celestial Body to be Earths
This method uses the default data context
.
states
- 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
addNewSegment(List, CelestialBody, int, TimeScale)
@DefaultDataContext public OrekitEphemerisFile.OrekitEphemerisSegment addNewSegment(List<SpacecraftState> states, CelestialBody body, int interpolationSampleSize)
OrekitEphemerisFile.OrekitEphemerisSegment
that
has been stored internally.
This method uses the default data context
.
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
addNewSegment(List, CelestialBody, int, TimeScale)
public OrekitEphemerisFile.OrekitEphemerisSegment addNewSegment(List<SpacecraftState> states, CelestialBody body, int interpolationSampleSize, TimeScale timeScale)
OrekitEphemerisFile.OrekitEphemerisSegment
that
has been stored internally.states
- a list of SpacecraftState
that will comprise this
new unit.body
- the celestial body from which the frames are definedinterpolationSampleSize
- the number of interpolation samples that should be used
when processed by another systemtimeScale
- the time scale used in the new segment.OrekitEphemerisFile.OrekitEphemerisSegment
Copyright © 2002-2021 CS GROUP. All rights reserved.