| 387 | } |
| 388 | |
| 389 | bool COPCindex::query_intervals() |
| 390 | { |
| 391 | clear_intervals(); |
| 392 | query_intervals(EPTkey::root()); |
| 393 | std::sort(query.begin(), query.end(), sort_octants); |
| 394 | |
| 395 | for (const EPToctant& oct : query) |
| 396 | { |
| 397 | points_intervals.push_back(oct.position); |
| 398 | offsets_intervals.push_back(oct.offset); |
| 399 | } |
| 400 | merge_intervals(); |
| 401 | return query.size() > 0; |
| 402 | } |
| 403 | |
| 404 | void COPCindex::query_intervals(const EPTkey& key) |
| 405 | { |
nothing calls this directly
no test coverage detected