10#if defined __cplusplus
15static char const *xDataTOM_frame_labString =
"lab";
16static char const *xDataTOM_frame_centerOfMassString =
"centerOfMass";
17static char const *xDataTOM_frame_invalidString =
"invalid";
76 *independent = interpolation->independent;
98 if( ( offset < 0 ) || ( offset >= axes->
numberOfAxes ) ) {
103 if( interpolation == NULL ) {
112 subAxes->
axes = axes;
120 subAxes->
axes = NULL;
199 return( xDataTOM_frame_invalidString );
202#if defined __cplusplus
#define smr_setReportError2(smr, libraryID, code, fmt,...)
#define smr_setReportError2p(smr, libraryID, code, fmt)
#define smr_allocateCopyString2(smr, s, forItem)
void * smr_freeMemory(void **p)
#define smr_malloc2(smr, size, zero, forItem)
xDataTOM_interpolation interpolation
enum xDataTOM_interpolationFlag independent dependent
enum xDataTOM_interpolationQualifier qualifier
enum xDataTOM_subAxesType type
xDataTOM_interpolation interpolation
char const * xDataTOM_axis_frameToString(statusMessageReporting *smr, enum xDataTOM_frame frame)
int xDataTOM_subAxes_release(xDataTOM_subAxes *subAxes)
@ xDataTOM_subAxesType_intepolationAxes
char const * xDataTOM_axes_getUnit(statusMessageReporting *smr, xDataTOM_axes *axes, int index)
xDataTOM_axis * xDataTOM_axis_release(statusMessageReporting *smr, xDataTOM_axis *axis)
enum xDataTOM_frame xDataTOM_axis_stringToFrame(statusMessageReporting *smr, char const *frame)
xDataTOM_axis * xDataTOM_axis_new(statusMessageReporting *smr, int index, char const *label, char const *unit, xDataTOM_interpolation *interpolation)
int xDataTOM_axis_initialize(statusMessageReporting *smr, xDataTOM_axis *axis, int index, char const *label, char const *unit, xDataTOM_interpolation *interpolation)
char const * xDataTOM_subAxes_getLabel(statusMessageReporting *smr, xDataTOM_subAxes *subAxes, int index)
xDataTOM_interpolationFlag
@ xDataTOM_interpolationFlag_linear
int xDataTOM_axes_initialize(statusMessageReporting *smr, xDataTOM_axes *axes, int numberOfAxes)
int xDataTOM_axes_getInterpolation(statusMessageReporting *smr, xDataTOM_axes *axes, int index, enum xDataTOM_interpolationFlag *independent, enum xDataTOM_interpolationFlag *dependent, enum xDataTOM_interpolationQualifier *qualifier)
char const * xDataTOM_axes_getLabel(statusMessageReporting *smr, xDataTOM_axes *axes, int index)
int xDataTOM_interpolation_set(statusMessageReporting *smr, xDataTOM_interpolation *interpolation, enum xDataTOM_interpolationFlag independent, enum xDataTOM_interpolationFlag dependent, enum xDataTOM_interpolationQualifier qualifier)
char const * xDataTOM_subAxes_getUnit(statusMessageReporting *smr, xDataTOM_subAxes *subAxes, int index)
@ xDataTOM_frame_centerOfMass
int xDataTOM_interpolation_copy(statusMessageReporting *smr, xDataTOM_interpolation *desc, xDataTOM_interpolation *src)
int xDataTOM_subAxes_initialize(statusMessageReporting *smr, xDataTOM_subAxes *subAxes, enum xDataTOM_subAxesType type, int offset, xDataTOM_axes *axes, xDataTOM_interpolation *interpolation)
xDataTOM_interpolationQualifier
@ xDataTOM_interpolationQualifier_none
int xDataTOM_axes_release(xDataTOM_axes *axes)
int xDataTOM_smrLibraryID