| 1284 | } |
| 1285 | |
| 1286 | BOOL LASreaderMerged::inside_circle(const F64 center_x, const F64 center_y, const F64 radius) |
| 1287 | { |
| 1288 | inside = 2; |
| 1289 | c_center_x = center_x; |
| 1290 | c_center_y = center_y; |
| 1291 | c_radius = radius; |
| 1292 | c_radius_squared = radius * radius; |
| 1293 | orig_min_x = header.min_x; |
| 1294 | orig_min_y = header.min_y; |
| 1295 | orig_max_x = header.max_x; |
| 1296 | orig_max_y = header.max_y; |
| 1297 | header.min_x = center_x - radius; |
| 1298 | header.min_y = center_y - radius; |
| 1299 | header.max_x = center_x + radius; |
| 1300 | header.max_y = center_y + radius; |
| 1301 | return TRUE; |
| 1302 | } |
| 1303 | |
| 1304 | BOOL LASreaderMerged::inside_rectangle(const F64 min_x, const F64 min_y, const F64 max_x, const F64 max_y) |
| 1305 | { |