MCPcopy Create free account
hub / github.com/LASzip/LASzip / has_more_cells

Method has_more_cells

src/lasquadtree.cpp:1496–1516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1494}
1495
1496BOOL LASquadtree::has_more_cells()
1497{
1498 if (current_cells == 0)
1499 {
1500 return FALSE;
1501 }
1502 if (next_cell_index >= ((my_cell_vector*)current_cells)->size())
1503 {
1504 return FALSE;
1505 }
1506 if (adaptive)
1507 {
1508 current_cell = ((my_cell_vector*)current_cells)->at(next_cell_index);
1509 }
1510 else
1511 {
1512 current_cell = level_offset[levels] + ((my_cell_vector*)current_cells)->at(next_cell_index);
1513 }
1514 next_cell_index++;
1515 return TRUE;
1516}
1517
1518BOOL LASquadtree::setup(F64 bb_min_x, F64 bb_max_x, F64 bb_min_y, F64 bb_max_y, F32 cell_size)
1519{

Callers 1

merge_intervalsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected