1 #ifndef SZA_UTIL_QUADPATH_H
2 #define SZA_UTIL_QUADPATH_H
14 #include "carma/szaarrayutils/quad.h"
15 #include "carma/szaarrayutils/szaconst.h"
159 void extend(
double x,
double y);
164 double eval(
double x);
169 double grad(
double x);
177 sza::array::QuadPath* quadpath_;
185 double extendAngle(
double a,
double b);
190 QP_ANGLE_FN(angle_around_zero);
195 QP_ANGLE_FN(angle_around_pi);
A class to handle quadrature interpolation of ephemerides received from the control program...
void extend(double x, double y)
Append or prepend an x,y coordinate pair to the three-entry circular table of a quadratic interpolati...
void init()
Empty a QuadData object and set all of its sample values to 0.
sza::array::QuadData quaddata_
The C-struct this is based on.
QuadPath(double empty_value, QuadType type)
Constructor function.
The following object type is used to query or replace the current contents of a QuadPath object...
double grad(double x)
Return the gradient of the quadratic equation at x.
double eval(double x)
Return the value of the quadratic equation at x.
Angles defined modulo 2.pi between -pi <= v < pi.
QuadType
Enumerate the various types of ephemeris types we might handle.
void set(QuadData *data)
Set the contents of a QuadPath object.
void empty()
Empty the coordinate table of a QuadPath object.
Angles defined modulo 2.pi between 0 <= v < 2.pi.