| 1265 | } |
| 1266 | |
| 1267 | BOOL LASreaderMerged::inside_tile(const F32 ll_x, const F32 ll_y, const F32 size) |
| 1268 | { |
| 1269 | inside = 1; |
| 1270 | t_ll_x = ll_x; |
| 1271 | t_ll_y = ll_y; |
| 1272 | t_size = size; |
| 1273 | t_ur_x = ll_x + size; |
| 1274 | t_ur_y = ll_y + size; |
| 1275 | orig_min_x = header.min_x; |
| 1276 | orig_min_y = header.min_y; |
| 1277 | orig_max_x = header.max_x; |
| 1278 | orig_max_y = header.max_y; |
| 1279 | header.min_x = ll_x; |
| 1280 | header.min_y = ll_y; |
| 1281 | header.max_x = static_cast<F64>(ll_x) + static_cast<F64>(size) - 0.001f * header.x_scale_factor; |
| 1282 | header.max_y = static_cast<F64>(ll_y) + static_cast<F64>(size) - 0.001f * header.y_scale_factor; |
| 1283 | return TRUE; |
| 1284 | } |
| 1285 | |
| 1286 | BOOL LASreaderMerged::inside_circle(const F64 center_x, const F64 center_y, const F64 radius) |
| 1287 | { |