summaryrefslogtreecommitdiffstats
path: root/src/LinearInterpolation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LinearInterpolation.h')
-rw-r--r--src/LinearInterpolation.h32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/LinearInterpolation.h b/src/LinearInterpolation.h
index a00b2c98a..800dc1607 100644
--- a/src/LinearInterpolation.h
+++ b/src/LinearInterpolation.h
@@ -25,10 +25,10 @@ const int MAX_INTERPOL_SIZEZ = 256; ///< Maximum Z-size of the interpolated arr
/** Puts linearly interpolated values from one array into another array. 1D version */
void LinearInterpolate1DArray(
- float * a_Src, ///< Src array
+ float * a_Src, ///< Src array
int a_SrcSizeX, ///< Count of the src array
- float * a_Dst, ///< Src array
- int a_DstSizeX ///< Count of the dst array
+ float * a_Dst, ///< Src array
+ int a_DstSizeX ///< Count of the dst array
);
@@ -37,10 +37,12 @@ void LinearInterpolate1DArray(
/** Puts linearly interpolated values from one array into another array. 2D version */
void LinearInterpolate2DArray(
- float * a_Src, ///< Src array, [x + a_SrcSizeX * y]
- int a_SrcSizeX, int a_SrcSizeY, ///< Count of the src array, in each direction
- float * a_Dst, ///< Dst array, [x + a_DstSizeX * y]
- int a_DstSizeX, int a_DstSizeY ///< Count of the dst array, in each direction
+ float * a_Src, ///< Src array, [x + a_SrcSizeX * y]
+ int a_SrcSizeX,
+ int a_SrcSizeY, ///< Count of the src array, in each direction
+ float * a_Dst, ///< Dst array, [x + a_DstSizeX * y]
+ int a_DstSizeX,
+ int a_DstSizeY ///< Count of the dst array, in each direction
);
@@ -49,12 +51,12 @@ void LinearInterpolate2DArray(
/** Puts linearly interpolated values from one array into another array. 3D version */
void LinearInterpolate3DArray(
- float * a_Src, ///< Src array, [x + a_SrcSizeX * y + a_SrcSizeX * a_SrcSizeY * z]
- int a_SrcSizeX, int a_SrcSizeY, int a_SrcSizeZ, ///< Count of the src array, in each direction
- float * a_Dst, ///< Dst array, [x + a_DstSizeX * y + a_DstSizeX * a_DstSizeY * z]
- int a_DstSizeX, int a_DstSizeY, int a_DstSizeZ ///< Count of the dst array, in each direction
+ float * a_Src, ///< Src array, [x + a_SrcSizeX * y + a_SrcSizeX * a_SrcSizeY * z]
+ int a_SrcSizeX,
+ int a_SrcSizeY,
+ int a_SrcSizeZ, ///< Count of the src array, in each direction
+ float * a_Dst, ///< Dst array, [x + a_DstSizeX * y + a_DstSizeX * a_DstSizeY * z]
+ int a_DstSizeX,
+ int a_DstSizeY,
+ int a_DstSizeZ ///< Count of the dst array, in each direction
);
-
-
-
-