public static class OrekitEphemerisFile.OrekitEphemerisSegment extends Object implements EphemerisFile.EphemerisSegment<TimeStampedPVCoordinates>
Constructor and Description |
---|
OrekitEphemerisSegment(List<TimeStampedPVCoordinates> coordinates,
Frame frame,
double mu,
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.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPropagator
public OrekitEphemerisSegment(List<TimeStampedPVCoordinates> coordinates, Frame frame, double mu, int interpolationSamples)
coordinates
- coordinates making up the ephemeris for this segmentframe
- the frame the coordinates are inmu
- the gravitational constant used in force model evaluationsinterpolationSamples
- the number of samples to use during interpolationpublic double getMu()
getMu
in interface EphemerisFile.EphemerisSegment<TimeStampedPVCoordinates>
EphemerisFile.EphemerisSegment.getPropagator()
, in m³/s².public Frame getFrame()
EphemerisFile.EphemerisSegment.getCoordinates()
.getFrame
in interface EphemerisFile.EphemerisSegment<TimeStampedPVCoordinates>
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<TimeStampedPVCoordinates>
Frame.isPseudoInertial()
is true
. May be the same as EphemerisFile.EphemerisSegment.getFrame()
if it is inertial.public int getInterpolationSamples()
getInterpolationSamples
in interface EphemerisFile.EphemerisSegment<TimeStampedPVCoordinates>
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<TimeStampedPVCoordinates>
public List<TimeStampedPVCoordinates> getCoordinates()
EphemerisFile.EphemerisSegment.getFrame()
.getCoordinates
in interface EphemerisFile.EphemerisSegment<TimeStampedPVCoordinates>
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<TimeStampedPVCoordinates>
public AbsoluteDate getStop()
The date returned by this method is equivalent to getPropagator().getMaxDate()
.
getStop
in interface EphemerisFile.EphemerisSegment<TimeStampedPVCoordinates>
Copyright © 2002-2021 CS GROUP. All rights reserved.