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

Method raster

pdal/PointView.cpp:207–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205
206
207Rasterd *PointView::raster(const std::string& name)
208{
209 auto it = m_rasters.find(name);
210 if (it != m_rasters.end())
211 return it->second.get();
212 if (name.empty() && m_rasters.size())
213 return m_rasters.begin()->second.get();
214 return nullptr;
215}
216
217
218void PointView::invalidateProducts()

Callers 1

writeMethod · 0.80

Calls 6

findMethod · 0.45
endMethod · 0.45
getMethod · 0.45
emptyMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected