public class TrajectoryState extends Object implements TimeStamped
Constructor and Description |
---|
TrajectoryState(ElementsType type,
AbsoluteDate date,
String[] fields,
int first,
List<Unit> units)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
CartesianDerivativesFilter |
getAvailableDerivatives()
Get which derivatives of position are available in this state.
|
AbsoluteDate |
getDate()
Get the date.
|
double[] |
getElements()
Get trajectory elements.
|
ElementsType |
getType()
Get the type of the elements.
|
TimeStampedPVCoordinates |
toCartesian(double mu)
Convert to Cartesian coordinates.
|
public TrajectoryState(ElementsType type, AbsoluteDate date, String[] fields, int first, List<Unit> units)
type
- type of the elementsdate
- entry datefields
- trajectory elementsfirst
- index of first field to considerunits
- units to use for parsingpublic AbsoluteDate getDate()
getDate
in interface TimeStamped
public double[] getElements()
public ElementsType getType()
public CartesianDerivativesFilter getAvailableDerivatives()
public TimeStampedPVCoordinates toCartesian(double mu)
mu
- gravitational parameter in m³/s²Copyright © 2002-2022 CS GROUP. All rights reserved.