libacfutils
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
|
#include <math.h>
Data Fields | |
unsigned | order |
double | coeff [64] |
This is a generic polynomial interpolator/extrapolator. Given a series of X-Y coordinates, pn_interp_init constructs a polynomial interpolation that smoothly passes through all of the input points. Please note that this function is limited to a maximum number of inputs points (mainly to make memory management easy by not requiring dynamic allocation).