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

Method read

io/LasReader.cpp:730–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728}
729
730point_count_t LasReader::read(PointViewPtr view, point_count_t count)
731{
732 count = (std::min)(count, getNumPoints() - (point_count_t)d->index);
733
734 PointId i = 0;
735 for (i = 0; i < count; i++)
736 {
737 PointRef point = view->point(i);
738 processOne(point);
739 if (m_cb)
740 m_cb(*view, view->size() - 1);
741 }
742 return (point_count_t)i;
743}
744
745
746void LasReader::loadPointV10(PointRef& point, const char *buf, size_t bufsize)

Callers 3

initializeLocalMethod · 0.45

Calls 4

processOneFunction · 0.85
pointMethod · 0.80
getNumPointsFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected