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:
statePositionsTime ordered vector of state positions X,Y,ZstateTimesTime ordered vector of state ephemeris times (TDB)bodyCodeNaif body code of an object whose state is described by the segmentscenterOfMotionNaif body code of an object which is the center of motion for bodyCodereferenceFrameNaif name of the reference system relative to which the state issegmentIdSPK segment identifier (max size 40)degreeDegree of the Hermite polynomials used to interpolate the statesstateVelocitiesTime ordered vector of state velocities dX, dY, dZsegmentCommentThe comment string for the new segment
The documentation for this class was generated from the following file SpiceQL/include/io.h