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

Method read

plugins/e57/io/E57Reader.cpp:348–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346}
347
348point_count_t E57Reader::read(PointViewPtr view, point_count_t count)
349{
350 point_count_t numPoints = e57plugin::numPoints(*m_data3D);
351 PointRef point(*view);
352 for (PointId counter = 0, nextId = view->size(); counter < numPoints;
353 ++counter, ++nextId)
354 {
355 point.setPointId(nextId);
356 fillPoint(point);
357 }
358
359 return view->size();
360}
361
362bool E57Reader::processOne(PointRef& point)
363{

Callers 1

readNextBatchMethod · 0.45

Calls 3

setPointIdMethod · 0.80
numPointsFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected