20 template <
typename Real>
25 IntpBilinear2(
int xBound,
int yBound, Real xMin, Real xSpacing,
26 Real yMin, Real ySpacing, Real
const* F);
32 inline Real
const*
GetF()
const;
47 Real
operator()(
int xOrder,
int yOrder, Real x, Real y)
const;
58 template <
typename Real>
60 Real xSpacing, Real yMin, Real ySpacing, Real
const* F)
86 template <
typename Real>
inline 92 template <
typename Real>
inline 98 template <
typename Real>
inline 104 template <
typename Real>
inline 110 template <
typename Real>
inline 116 template <
typename Real>
inline 122 template <
typename Real>
inline 128 template <
typename Real>
inline 134 template <
typename Real>
inline 140 template <
typename Real>
inline 146 template <
typename Real>
151 int ix =
static_cast<int>(xIndex);
163 int iy =
static_cast<int>(yIndex);
187 for (
int col = 0; col < 2; ++col)
198 int yClamp = iy +
row;
204 for (
int col = 0; col < 2; ++col)
206 int xClamp = ix + col;
212 result += P[col] * Q[
row] *
mF[xClamp +
mXBound * yClamp];
219 template <
typename Real>
225 int ix =
static_cast<int>(xIndex);
237 int iy =
static_cast<int>(yIndex);
247 Real U[2], dx, xMult;
266 Real V[2], dy, yMult;
291 for (
int col = 0; col < 2; ++col)
302 int yClamp = iy +
row;
308 for (
int col = 0; col < 2; ++col)
310 int xClamp = ix + col;
316 result += P[col] * Q[
row] *
mF[xClamp +
mXBound * yClamp];
319 result *= xMult * yMult;
#define LogAssert(condition, message)
IntpBilinear2(int xBound, int yBound, Real xMin, Real xSpacing, Real yMin, Real ySpacing, Real const *F)
GLenum GLenum GLsizei void * row
Real const * GetF() const
Real operator()(Real x, Real y) const