Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public static function expandFromCenterCoordinate( |
||
25 | Coordinate $center, |
||
26 | float $distance, |
||
27 | BearingInterface $bearing |
||
28 | ): Bounds { |
||
29 | $NW = $bearing->calculateDestination($center, 315, $distance); |
||
30 | $SE = $bearing->calculateDestination($center, 135, $distance); |
||
31 | return new Bounds($NW, $SE); |
||
32 | } |
||
33 | } |
||
34 |