Public Member Functions | |
| float | calc (int loc) |
| Determine the interpolated value along the line. | |
| LinInterp (int size, float l, float h) | |
| Constructor. | |
Public Attributes | |
| float | ep1 |
| Values at the two ends. | |
| float | ep2 |
Private Attributes | |
| int | m_size |
| The length of the line. | |
| bool | noCalc |
| Flag indicating that both points have the same value. | |
The line specified is of integer length, and the position specified as an integer. A check is included to avoid calculation if the value at each end is the same.
| Mercator::LinInterp::LinInterp | ( | int | size, | |
| float | l, | |||
| float | h | |||
| ) | [inline] |
1.5.6