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

Method intersect_rectangle

LASzip/src/lasindex.cpp:214–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214BOOL LASindex::intersect_rectangle(const F64 r_min_x, const F64 r_min_y, const F64 r_max_x, const F64 r_max_y)
215{
216 have_interval = FALSE;
217 cells = spatial->intersect_rectangle(r_min_x, r_min_y, r_max_x, r_max_y);
218// LASMessage(LAS_VERBOSE, "%d cells of %g/%g %g/%g intersect rect %g/%g %g/%g", num_cells, spatial->get_min_x(), spatial->get_min_y(), spatial->get_max_x(), spatial->get_max_y(), r_min_x, r_min_y, r_max_x, r_max_y);
219 if (cells)
220 return merge_intervals();
221 return FALSE;
222}
223
224BOOL LASindex::intersect_tile(const F32 ll_x, const F32 ll_y, const F32 size)
225{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected