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
getMuCreated, getMuParsed, getMuSet, getMuUsed, setMuSet, setMuUsed
getConventions, getCreationDate, getDataContext, getFormatVersion, getHeaderComment, getMissionReferenceDate, getMu, getOriginator, setConventions, setCreationDate, setDataContext, setFormatVersion, setHeaderComment, setMissionReferenceDate, setMu, setOriginator
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()
CartesianOrbit
from the OPM state vector data. If the reference frame is not
pseudo-inertial, an exception is raised.CartesianOrbit
generated from the OPM informationpublic KeplerianOrbit generateKeplerianOrbit()
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 informationpublic SpacecraftState generateSpacecraftState()
CartesianOrbit
generated by generateCartesianOrbit.
Raises an exception if OPM doesn't contain spacecraft mass information.Copyright © 2002-2020 CS GROUP. All rights reserved.