public class Apm extends NdmConstituent<AdmHeader,Segment<AdmMetadata,ApmData>>
| Modifier and Type | Field and Description |
|---|---|
static String |
FORMAT_VERSION_KEY
Key for format version.
|
static String |
ROOT
Root element for XML files.
|
| Constructor and Description |
|---|
Apm(AdmHeader header,
List<Segment<AdmMetadata,ApmData>> segments,
IERSConventions conventions,
DataContext dataContext)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Attitude |
getAttitude(Frame frame,
PVCoordinatesProvider pvProvider)
Get the attitude.
|
ApmData |
getData()
Get the file data.
|
AdmMetadata |
getMetadata()
Get the file metadata.
|
getConventions, getDataContext, getHeader, getSegments, setHeader, setSegments, validatepublic static final String ROOT
public static final String FORMAT_VERSION_KEY
public Apm(AdmHeader header, List<Segment<AdmMetadata,ApmData>> segments, IERSConventions conventions, DataContext dataContext)
header - file headersegments - file segmentsconventions - IERS conventionsdataContext - used for creating frames, time scales, etc.public AdmMetadata getMetadata()
public ApmData getData()
public Attitude getAttitude(Frame frame, PVCoordinatesProvider pvProvider)
frame - reference frame with respect to which attitude must be defined,
(may be null if attitude is not orbit-relative and one wants
attitude in the same frame as used in the attitude message)pvProvider - provider for spacecraft position and velocity
(may be null if attitude is not orbit-relative)Copyright © 2002-2023 CS GROUP. All rights reserved.