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,
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<? 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
@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 the state's frames are with respect tointerpolationSampleSize
- the number of interpolation samples that should be used
when processed by another systemtimeScale
- used in the new segment.OrekitEphemerisFile.OrekitEphemerisSegment
Copyright © 2002-2020 CS Group. All rights reserved.