Expand the grid to a new size. /param width */
| 138 | /param width |
| 139 | */ |
| 140 | void GDALGrid::expandToInclude(double x, double y) |
| 141 | { |
| 142 | m_count->expandToInclude(x, y); |
| 143 | if (m_outputTypes & statMin) |
| 144 | m_min->expandToInclude(x, y); |
| 145 | if (m_outputTypes & statMax) |
| 146 | m_max->expandToInclude(x, y); |
| 147 | if (m_outputTypes & statIdw) |
| 148 | { |
| 149 | m_idw->expandToInclude(x, y); |
| 150 | m_idwDist->expandToInclude(x, y); |
| 151 | } |
| 152 | if ((m_outputTypes & statMean) || (m_outputTypes & statStdDev)) |
| 153 | m_mean->expandToInclude(x, y); |
| 154 | if (m_outputTypes & statStdDev) |
| 155 | m_stdDev->expandToInclude(x, y); |
| 156 | } |
| 157 | |
| 158 | |
| 159 | int GDALGrid::numBands() const |
no outgoing calls
no test coverage detected