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

Method read

io/MemoryViewReader.cpp:175–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173
174
175point_count_t MemoryViewReader::read(PointViewPtr v, point_count_t numPts)
176{
177 PointId idx = v->size();
178 point_count_t cnt = 0;
179
180 PointRef point(*v);
181 while (cnt < numPts)
182 {
183 point.setPointId(idx);
184 if (!processOne(point))
185 break;
186 cnt++;
187 idx++;
188 }
189 return cnt;
190}
191
192
193bool MemoryViewReader::processOne(PointRef& point)

Callers

nothing calls this directly

Calls 3

processOneFunction · 0.85
setPointIdMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected