1 #ifndef _INTERPOLATION_H_
2 #define _INTERPOLATION_H_
40 static vector<int>
getCell(
points *pTarget,
points *pSource,
int rTargetPointNumber,
int rClosestPointNumber );
static vector< int > sortPoints(points *pSource, vector< int > rGridPoints)
Sort points (rGridPoints) from pSouce into a vector where 0 - Bottom Left 1 - Top Left 2 - Top Right ...
static points * bilinear(points *pTarget, points *pSource, int rTargetVariable, int rSourceVariable)
Performs bilinear interpolation to find values from source mesh at the target points.
static points * bicubic(points *target, points *source, int var_target, int var_source)
static vector< int > getCell(points *pTarget, points *pSource, int rTargetPointNumber, int rClosestPointNumber)
Get a points surrounding a target point in a mesh.