| 35 | #include <stdio.h> |
| 36 | |
| 37 | BOOL 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 | |
| 46 | LASkdtreeRectangle::LASkdtreeRectangle(F64 min_x, F64 min_y, F64 max_x, F64 max_y, U32 index) |
| 47 | { |
no outgoing calls
no test coverage detected