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

Method read

io/TIndexReader.cpp:329–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327
328
329point_count_t TIndexReader::read(PointViewPtr view, point_count_t num)
330{
331 point_count_t cnt(0);
332
333 PointRef point(view->point(0));
334 for (PointId idx = 0; idx < num; ++idx)
335 {
336 point.setPointId(idx);
337 processOne(point);
338 cnt++;
339 }
340 return cnt;
341}
342
343
344bool TIndexReader::processOne(PointRef& point)

Callers

nothing calls this directly

Calls 3

processOneFunction · 0.85
pointMethod · 0.80
setPointIdMethod · 0.80

Tested by

no test coverage detected