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

Method subtiling_setup

src/lasquadtree.cpp:1632–1649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1630}
1631
1632BOOL LASquadtree::subtiling_setup(F32 min_x, F32 max_x, F32 min_y, F32 max_y, U32 sub_level, U32 sub_level_index, U32 levels)
1633{
1634 this->min_x = min_x;
1635 this->max_x = max_x;
1636 this->min_y = min_y;
1637 this->max_y = max_y;
1638 F32 min[2];
1639 F32 max[2];
1640 get_cell_bounding_box(sub_level_index, sub_level, min, max);
1641 this->min_x = min[0];
1642 this->max_x = max[0];
1643 this->min_y = min[1];
1644 this->max_y = max[1];
1645 this->sub_level = sub_level;
1646 this->sub_level_index = sub_level_index;
1647 this->levels = levels;
1648 return TRUE;
1649}
1650
1651LASquadtree::LASquadtree()
1652{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected