| 367 | } |
| 368 | |
| 369 | void COPCindex::intersect_circle(const F64 center_x, const F64 center_y, const F64 radius) |
| 370 | { |
| 371 | F64 r_min_x = center_x - radius; |
| 372 | F64 r_min_y = center_y - radius; |
| 373 | F64 r_max_x = center_x + radius; |
| 374 | F64 r_max_y = center_y + radius; |
| 375 | intersect_rectangle(r_min_x, r_min_y, r_max_x, r_max_y); |
| 376 | } |
| 377 | |
| 378 | void COPCindex::intersect_sphere(const F64 center_x, const F64 center_y, const F64 center_z, const F64 radius) |
| 379 | { |