Constructor and Description |
---|
OpmData(StateVector stateVectorBlock,
KeplerianElements keplerianElementsBlock,
SpacecraftParameters spacecraftParametersBlock,
CartesianCovariance covarianceBlock,
List<Maneuver> maneuverBlocks,
UserDefined userDefinedBlock,
double mass)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
CartesianCovariance |
getCovarianceBlock()
Get the covariance matrix logical block.
|
KeplerianElements |
getKeplerianElementsBlock()
Get the Keplerian elements logical block.
|
Maneuver |
getManeuver(int index)
Get a maneuver.
|
List<Maneuver> |
getManeuvers()
Get a list of all maneuvers.
|
double |
getMass()
Get the mass.
|
int |
getNbManeuvers()
Get the number of maneuvers present in the APM.
|
SpacecraftParameters |
getSpacecraftParametersBlock()
Get the spacecraft parameters logical block.
|
StateVector |
getStateVectorBlock()
Get the state vector logical block.
|
UserDefined |
getUserDefinedBlock()
Get the user defined parameters logical block.
|
boolean |
hasManeuvers()
Get boolean testing whether the APM contains at least one maneuver.
|
void |
validate(double version)
Check is all mandatory entries have been initialized.
|
public OpmData(StateVector stateVectorBlock, KeplerianElements keplerianElementsBlock, SpacecraftParameters spacecraftParametersBlock, CartesianCovariance covarianceBlock, List<Maneuver> maneuverBlocks, UserDefined userDefinedBlock, double mass)
stateVectorBlock
- state vector logical blockkeplerianElementsBlock
- Keplerian elements logical block (may be null)spacecraftParametersBlock
- spacecraft parameters logical block (may be null)covarianceBlock
- covariance matrix logical block (may be null)maneuverBlocks
- maneuvers block listuserDefinedBlock
- user-defined logical blockmass
- mass (always defined, even if there is no spacecraftParameters
blockpublic void validate(double version)
This method should throw an exception if some mandatory entries are missing or not compatible with version number.
public StateVector getStateVectorBlock()
public KeplerianElements getKeplerianElementsBlock()
public SpacecraftParameters getSpacecraftParametersBlock()
public CartesianCovariance getCovarianceBlock()
public double getMass()
public int getNbManeuvers()
public List<Maneuver> getManeuvers()
public Maneuver getManeuver(int index)
index
- maneuver index, counting from 0public boolean hasManeuvers()
public UserDefined getUserDefinedBlock()
Copyright © 2002-2022 CS GROUP. All rights reserved.