MCPcopy Create free account
hub / github.com/LAStools/LAStools / query_intervals

Method query_intervals

LASlib/src/lascopc.cpp:389–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387}
388
389bool 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
404void COPCindex::query_intervals(const EPTkey& key)
405{

Callers

nothing calls this directly

Calls 5

rootFunction · 0.85
get_childrenMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected