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

Method overlap

LASlib/src/laskdtree.cpp:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35#include <stdio.h>
36
37BOOL LASkdtreeRectangle::overlap(const LASkdtreeRectangle &rectangle) const
38{
39 if (max[0] < rectangle.min[0]) return FALSE;
40 if (max[1] < rectangle.min[1]) return FALSE;
41 if (rectangle.max[0] < min[0]) return FALSE;
42 if (rectangle.max[1] < min[1]) return FALSE;
43 return TRUE;
44}
45
46LASkdtreeRectangle::LASkdtreeRectangle(F64 min_x, F64 min_y, F64 max_x, F64 max_y, U32 index)
47{

Callers 2

overlap_rectanglesMethod · 0.80
openMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected