Class SpiceQL::SpkSegment
ClassList > SpiceQL > SpkSegment
C++ object repersenting NAIF spice SPK Segment and it's metadata. More...
#include <io.h>
Public Functions
Type | Name |
---|---|
SpkSegment (std::vector< std::vector< double > > statePositions, std::vector< double > stateTimes, int bodyCode, int centerOfMotion, std::string referenceFrame, std::string segmentId, int degree, std::vector< std::vector< double > > stateVelocities={}, std::string segmentComment="") |
Detailed Description
SPK kernels consist of multiple CK segments. These specifically define a type 13 SPK segment which consists of parallel arrary of ephemeris times in a 6 element state array's of x, y, z, vx, vy, vz
Public Functions Documentation
function SpkSegment
SpiceQL::SpkSegment::SpkSegment (
std::vector< std::vector< double > > statePositions,
std::vector< double > stateTimes,
int bodyCode,
int centerOfMotion,
std::string referenceFrame,
std::string segmentId,
int degree,
std::vector< std::vector< double > > stateVelocities={},
std::string segmentComment=""
)
Constructs a fully populated SpkSegment
Parameters:
statePositions
Time ordered vector of state positions X,Y,ZstateTimes
Time ordered vector of state ephemeris times (TDB)bodyCode
Naif body code of an object whose state is described by the segmentscenterOfMotion
Naif body code of an object which is the center of motion for bodyCodereferenceFrame
Naif name of the reference system relative to which the state issegmentId
SPK segment identifier (max size 40)degree
Degree of the Hermite polynomials used to interpolate the statesstateVelocities
Time ordered vector of state velocities dX, dY, dZsegmentComment
The comment string for the new segment
The documentation for this class was generated from the following file SpiceQL/include/io.h