| 173 | |
| 174 | |
| 175 | point_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 | |
| 193 | bool MemoryViewReader::processOne(PointRef& point) |
nothing calls this directly
no test coverage detected