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.
|
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.
|
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() throws OrekitException
EphemerisFile.EphemerisSegment
getFrame
in interface EphemerisFile.EphemerisSegment
null
.OrekitException
- if a frame cannot be created from EphemerisFile.EphemerisSegment.getFrameString()
and there is no default frame.public String getTimeScaleString()
EphemerisFile.EphemerisSegment
getTimeScaleString
in interface EphemerisFile.EphemerisSegment
null
if the ephemeris file does not specify a time scale.public TimeScale getTimeScale() throws OrekitException
EphemerisFile.EphemerisSegment
getTimeScale
in interface EphemerisFile.EphemerisSegment
null
.OrekitException
- if a time scale can not be constructed based on EphemerisFile.EphemerisSegment.getTimeScaleString()
and there is no default time
scale.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
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-2017 CS Systèmes d'information. All rights reserved.