public static class OrekitEphemerisFile.OrekitEphemerisSegment extends Object implements EphemerisFile.EphemerisSegment
Constructor and Description |
---|
OrekitEphemerisSegment(List<TimeStampedPVCoordinates> coordinates,
Frame frame,
String frameCenterString,
double mu,
TimeScale timeScale,
int samples)
constructor for OrekitEphemerisSegment.
|
Modifier and Type | Method and Description |
---|---|
CartesianDerivativesFilter |
getAvailableDerivatives()
Get which derivatives of position are available in this ephemeris segment.
|
List<TimeStampedPVCoordinates> |
getCoordinates()
Get the coordinates for this ephemeris segment in
EphemerisFile.EphemerisSegment.getFrame() . |
Frame |
getFrame()
Get the reference frame for this ephemeris segment.
|
String |
getFrameCenterString()
Get the name of the center of the coordinate system the ephemeris is provided
in.
|
String |
getFrameString()
Get the defining frame for this ephemeris segment.
|
Frame |
getInertialFrame()
Get the inertial reference frame for this ephemeris segment.
|
int |
getInterpolationSamples()
Get the number of samples to use in interpolation.
|
double |
getMu()
Get the standard gravitational parameter for the satellite.
|
AbsoluteDate |
getStart()
Get the start date of this ephemeris segment.
|
AbsoluteDate |
getStop()
Get the end date of this ephemeris segment.
|
TimeScale |
getTimeScale()
Get the time scale for this ephemeris segment.
|
String |
getTimeScaleString()
Get the time scale for this ephemeris segment.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPropagator
public OrekitEphemerisSegment(List<TimeStampedPVCoordinates> coordinates, Frame frame, String frameCenterString, double mu, TimeScale timeScale, int samples)
coordinates
- coordinates making up the ephemeris for this segmentframe
- the frame the coordinates are inframeCenterString
- the name of celestial body the frame is attached tomu
- the gravitional constant used in force model evaluationstimeScale
- the time scale of these ephemeris pointssamples
- the number of samples to use during interpolationpublic double getMu()
EphemerisFile.EphemerisSegment
getMu
in interface EphemerisFile.EphemerisSegment
EphemerisFile.EphemerisSegment.getPropagator()
, in m^3 /
s^2.public String getFrameCenterString()
EphemerisFile.EphemerisSegment
getFrameCenterString
in interface EphemerisFile.EphemerisSegment
public String getFrameString()
EphemerisFile.EphemerisSegment
getFrameString
in interface EphemerisFile.EphemerisSegment
null
if the ephemeris file does not specify a frame.public Frame getFrame()
EphemerisFile.EphemerisSegment
EphemerisFile.EphemerisSegment.getCoordinates()
.getFrame
in interface EphemerisFile.EphemerisSegment
null
.public Frame getInertialFrame()
EphemerisFile.EphemerisSegment
EphemerisFile.EphemerisSegment.getPropagator()
.
The default implementation returns EphemerisFile.EphemerisSegment.getFrame()
if it is inertial.
Otherwise it returns Frame.getRoot()
. Implementors are encouraged to
override this default implementation if a more suitable inertial frame is
available.
getInertialFrame
in interface EphemerisFile.EphemerisSegment
Frame.isPseudoInertial()
is true
. May be the same as EphemerisFile.EphemerisSegment.getFrame()
if it is inertial.public String getTimeScaleString()
EphemerisFile.EphemerisSegment
getTimeScaleString
in interface EphemerisFile.EphemerisSegment
null
if the ephemeris file does not specify a time scale.public TimeScale getTimeScale()
EphemerisFile.EphemerisSegment
getTimeScale
in interface EphemerisFile.EphemerisSegment
null
.public int getInterpolationSamples()
EphemerisFile.EphemerisSegment
getInterpolationSamples
in interface EphemerisFile.EphemerisSegment
public CartesianDerivativesFilter getAvailableDerivatives()
EphemerisFile.EphemerisSegment
While EphemerisFile.EphemerisSegment.getCoordinates()
always returns position, velocity, and
acceleration the return value from this method indicates which of those are in
the ephemeris file and are actually valid.
getAvailableDerivatives
in interface EphemerisFile.EphemerisSegment
public List<TimeStampedPVCoordinates> getCoordinates()
EphemerisFile.EphemerisSegment
EphemerisFile.EphemerisSegment.getFrame()
.getCoordinates
in interface EphemerisFile.EphemerisSegment
EphemerisFile.EphemerisSegment.getAvailableDerivatives()
indicates if the velocity or accelerations were
specified in the file. Any position, velocity, or acceleration coordinates that
are not specified in the ephemeris file are zero in the returned values.public AbsoluteDate getStart()
EphemerisFile.EphemerisSegment
The date returned by this method is equivalent to getPropagator().getMinDate()
.
getStart
in interface EphemerisFile.EphemerisSegment
public AbsoluteDate getStop()
EphemerisFile.EphemerisSegment
The date returned by this method is equivalent to getPropagator().getMaxDate()
.
getStop
in interface EphemerisFile.EphemerisSegment
Copyright © 2002-2020 CS Group. All rights reserved.