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

Method pctlData

io/private/GDALGrid.cpp:201–207  ·  view source on GitHub ↗

! could maybe run something equivalent to fillPercentiles to calculate on the fly, but that would ! entail looping thru m_valBins multiple times. Not sure which is better

Source from the content-addressed store, hash-verified

199//!! could maybe run something equivalent to fillPercentiles to calculate on the fly, but that would
200//!! entail looping thru m_valBins multiple times. Not sure which is better
201double *GDALGrid::pctlData(int pct) const
202{
203 auto it = m_pctls.find(pct);
204 if ((it != m_pctls.end()) && m_valBins.size())
205 return it->second->data();
206 return nullptr;
207}
208
209
210GDALGrid::Cell GDALGrid::pointToCell(const Point& p)

Callers 1

doneFileMethod · 0.80

Calls 4

findMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected