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

Method read

io/FauxReader.cpp:284–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282
283
284point_count_t FauxReader::read(PointViewPtr view, point_count_t count)
285{
286 for (PointId idx = 0; idx < count; ++idx)
287 {
288 PointRef point = view->point(idx);
289 if (!processOne(point))
290 break;
291 if (m_cb)
292 m_cb(*view, idx);
293 }
294 return count;
295}
296
297} // namespace pdal

Callers

nothing calls this directly

Calls 2

processOneFunction · 0.85
pointMethod · 0.80

Tested by

no test coverage detected