Helper to interpolate in a quad.
More...
|
float | calc (float locX, float locY) |
| Determine the interpolated value within the quad.
|
|
| QuadInterp (float size, float e1, float e2, float e3, float e4) |
| Constructor. More...
|
|
|
float | ep1 |
| Values at the four corners.
|
|
float | ep2 |
|
float | ep3 |
|
float | ep4 |
|
Helper to interpolate in a quad.
The quad specified is assumed to be square of integer size, and the position specified for interpolation is specified in integer form. A check is included to avoid calculation if the value of each corner is the same.
◆ QuadInterp()
Mercator::QuadInterp::QuadInterp |
( |
float |
size, |
|
|
float |
e1, |
|
|
float |
e2, |
|
|
float |
e3, |
|
|
float |
e4 |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
size | length of one side of the square quad. |
e1 | value at one corner of the square quad. |
e2 | value at one corner of the square quad. |
e3 | value at one corner of the square quad. |
e4 | value at one corner of the square quad. |
The documentation for this class was generated from the following file: