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

Method read

plugins/rxp/io/RxpReader.cpp:128–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126
127
128point_count_t RxpReader::read(PointViewPtr view, point_count_t num)
129{
130 point_count_t numRead = 0;
131 PointRef point(view->point(0));
132 while (numRead < num && !m_pointcloud->endOfInput()) {
133 point.setPointId(numRead);
134 processOne(point);
135 ++numRead;
136 }
137 return numRead;
138}
139
140
141bool RxpReader::processOne(PointRef& point)

Callers

nothing calls this directly

Calls 4

processOneFunction · 0.85
pointMethod · 0.80
endOfInputMethod · 0.80
setPointIdMethod · 0.80

Tested by

no test coverage detected