| 274 | } |
| 275 | |
| 276 | point_count_t PcdReader::read(PointViewPtr view, point_count_t count) |
| 277 | { |
| 278 | PointId idx = view->size(); |
| 279 | point_count_t cnt = 0; |
| 280 | PointRef point(*view, idx); |
| 281 | while (cnt < count) |
| 282 | { |
| 283 | point.setPointId(idx); |
| 284 | if (!processOne(point)) |
| 285 | break; |
| 286 | cnt++; |
| 287 | idx++; |
| 288 | } |
| 289 | return cnt; |
| 290 | } |
| 291 | |
| 292 | void PcdReader::initialize() |
| 293 | { |
nothing calls this directly
no test coverage detected