(center, steps)
| 564 | |
| 565 | |
| 566 | def hex_bounds(center, steps): |
| 567 | # Make a box that is (70m * step_limit * 2) + 70m away from the center point |
| 568 | # Rationale is that you need to travel |
| 569 | sp_dist = 0.07 * 2 * steps |
| 570 | n = get_new_coords(center, sp_dist, 0)[0] |
| 571 | e = get_new_coords(center, sp_dist, 90)[1] |
| 572 | s = get_new_coords(center, sp_dist, 180)[0] |
| 573 | w = get_new_coords(center, sp_dist, 270)[1] |
| 574 | return (n, e, s, w) |
| 575 | |
| 576 | |
| 577 | # todo: this probably shouldn't _really_ be in "models" anymore, but w/e |
no test coverage detected