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

Method read

io/PcdReader.cpp:276–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276point_count_t PcdReader::read(PointViewPtr view, point_count_t count)
277{
278 PointId idx = view->size();
279 point_count_t cnt = 0;
280 PointRef point(*view, idx);
281 while (cnt < count)
282 {
283 point.setPointId(idx);
284 if (!processOne(point))
285 break;
286 cnt++;
287 idx++;
288 }
289 return cnt;
290}
291
292void PcdReader::initialize()
293{

Callers

nothing calls this directly

Calls 3

processOneFunction · 0.85
setPointIdMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected