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 interpolationSamples)
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 interpolationSamples)
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 gravitational constant used in force model evaluationstimeScale
- the time scale of these ephemeris pointsinterpolationSamples
- the number of samples to use during interpolationpublic double getMu()
getMu
in interface EphemerisFile.EphemerisSegment
EphemerisFile.EphemerisSegment.getPropagator()
, in m^3 /
s^2.public String getFrameCenterString()
getFrameCenterString
in interface EphemerisFile.EphemerisSegment
public String getFrameString()
getFrameString
in interface EphemerisFile.EphemerisSegment
null
if the ephemeris file does not specify a frame.public Frame getFrame()
EphemerisFile.EphemerisSegment.getCoordinates()
.getFrame
in interface EphemerisFile.EphemerisSegment
null
.public Frame getInertialFrame()
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()
getTimeScaleString
in interface EphemerisFile.EphemerisSegment
null
if the ephemeris file does not specify a time scale.public TimeScale getTimeScale()
getTimeScale
in interface EphemerisFile.EphemerisSegment
null
.public int getInterpolationSamples()
getInterpolationSamples
in interface EphemerisFile.EphemerisSegment
public CartesianDerivativesFilter getAvailableDerivatives()
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.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()
The date returned by this method is equivalent to getPropagator().getMinDate()
.
getStart
in interface EphemerisFile.EphemerisSegment
public AbsoluteDate getStop()
The date returned by this method is equivalent to getPropagator().getMaxDate()
.
getStop
in interface EphemerisFile.EphemerisSegment
Copyright © 2002-2020 CS GROUP. All rights reserved.