public class OPMFile extends OGMFile
CartesianOrbit
, KeplerianOrbit
or SpacecraftState
.Modifier and Type | Class and Description |
---|---|
static class |
OPMFile.Maneuver
Maneuver in an OPM file.
|
Modifier and Type | Method and Description |
---|---|
CartesianOrbit |
generateCartesianOrbit()
Generate a
CartesianOrbit from the OPM state vector data. |
KeplerianOrbit |
generateKeplerianOrbit()
Generate a
KeplerianOrbit from the OPM Keplerian elements if hasKeplerianElements is true,
or from the state vector data otherwise. |
SpacecraftState |
generateSpacecraftState()
Generate spacecraft state from the
CartesianOrbit generated by generateCartesianOrbit. |
boolean |
getHasManeuver()
Get boolean testing whether the OPM contains at least one maneuver.
|
OPMFile.Maneuver |
getManeuver(int index)
Get a maneuver.
|
List<OPMFile.Maneuver> |
getManeuvers()
Get a list of all maneuvers.
|
ODMMetaData |
getMetaData()
Get the meta data.
|
List<String> |
getMetaDataComment()
Get the comment for meta-data.
|
int |
getNbManeuvers()
Get the number of maneuvers present in the OPM.
|
Vector3D |
getPosition()
Get position vector.
|
PVCoordinates |
getPVCoordinates()
Get the position/velocity coordinates contained in the OPM.
|
Vector3D |
getVelocity()
Get velocity vector.
|
getA, getAnomaly, getAnomalyType, getCovarianceComment, getCovarianceMatrix, getCovRefFrame, getCovRefLofType, getDragArea, getDragCoeff, getE, getEpoch, getEpochComment, getI, getKeplerianElementsComment, getMass, getPa, getRaan, getSolarRadArea, getSolarRadCoeff, getSpacecraftComment, getUserDefinedParameters, hasCovarianceMatrix, hasKeplerianElements
getConventions, getCreationDate, getFormatVersion, getHeaderComment, getMissionReferenceDate, getMuCreated, getMuParsed, getMuSet, getMuUsed, getOriginator, setMuUsed
public ODMMetaData getMetaData()
getMetaData
in class OGMFile
public Vector3D getPosition()
public Vector3D getVelocity()
public int getNbManeuvers()
public List<OPMFile.Maneuver> getManeuvers()
public OPMFile.Maneuver getManeuver(int index)
index
- maneuver index, counting from 0public boolean getHasManeuver()
public List<String> getMetaDataComment()
public PVCoordinates getPVCoordinates()
public CartesianOrbit generateCartesianOrbit() throws OrekitException
CartesianOrbit
from the OPM state vector data. If the reference frame is not
pseudo-inertial, an exception is raised.CartesianOrbit
generated from the OPM informationOrekitException
- if the reference frame is not pseudo-inertial or if the central body
gravitational coefficient cannot be retrieved from the OPMpublic KeplerianOrbit generateKeplerianOrbit() throws OrekitException
KeplerianOrbit
from the OPM Keplerian elements if hasKeplerianElements is true,
or from the state vector data otherwise.
If the reference frame is not pseudo-inertial, an exception is raised.KeplerianOrbit
generated from the OPM informationOrekitException
- if the reference frame is not pseudo-inertial or if the central body
gravitational coefficient cannot be retrieved from the OPMpublic SpacecraftState generateSpacecraftState() throws OrekitException
CartesianOrbit
generated by generateCartesianOrbit.
Raises an exception if OPM doesn't contain spacecraft mass information.OrekitException
- if there is no spacecraft mass associated with the OPMCopyright © 2002-2017 CS Systèmes d'information. All rights reserved.