public class StateVector extends CommentsContainer
| Constructor and Description |
|---|
StateVector()
Create an empty data set.
|
| Modifier and Type | Method and Description |
|---|---|
AbsoluteDate |
getEpoch()
Get epoch of state vector, Keplerian elements and covariance matrix data.
|
boolean |
hasAcceleration()
Check if state contains acceleration data.
|
void |
setA(int index,
double value)
Set acceleration component.
|
void |
setEpoch(AbsoluteDate epoch)
Set epoch of state vector, Keplerian elements and covariance matrix data.
|
void |
setP(int index,
double value)
Set position component.
|
void |
setV(int index,
double value)
Set velocity component.
|
TimeStampedPVCoordinates |
toTimeStampedPVCoordinates()
Convert to
TimeStampedPVCoordinates. |
void |
validate(double version)
Check is all mandatory entries have been initialized.
|
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherCommentspublic void validate(double version)
This method should throw an exception if some mandatory entries are missing or not compatible with version number.
validate in interface Sectionvalidate in class CommentsContainerversion - format versionpublic AbsoluteDate getEpoch()
public void setEpoch(AbsoluteDate epoch)
epoch - the epoch to be setpublic void setP(int index,
double value)
index - component index (counting from 0)value - position componentpublic void setV(int index,
double value)
index - component index (counting from 0)value - velocity componentpublic void setA(int index,
double value)
index - component index (counting from 0)value - acceleration componentpublic boolean hasAcceleration()
public TimeStampedPVCoordinates toTimeStampedPVCoordinates()
TimeStampedPVCoordinates.TimeStampedPVCoordinatesCopyright © 2002-2023 CS GROUP. All rights reserved.