MCPcopy Create free account
hub / github.com/PDAL/PDAL / data

Method data

io/private/GDALGrid.cpp:181–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179
180
181double *GDALGrid::data(const std::string& name)
182{
183 if (name == "count" && (m_outputTypes & statCount))
184 return m_count->data();
185 if (name == "min" && (m_outputTypes & statMin))
186 return m_min->data();
187 if (name == "max" && (m_outputTypes & statMax))
188 return m_max->data();
189 if (name == "mean" && (m_outputTypes & statMean))
190 return m_mean->data();
191 if (name == "idw" && (m_outputTypes & statIdw))
192 return m_idw->data();
193 if (name == "stdev" && (m_outputTypes & statStdDev))
194 return m_stdDev->data();
195 return nullptr;
196}
197
198
199//!! could maybe run something equivalent to fillPercentiles to calculate on the fly, but that would

Callers 1

pctlDataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected