1 | <?php |
||
15 | class BoundsFactory |
||
16 | { |
||
17 | /** |
||
18 | * Creates a Bounds instance which corners have the given distance from its center. |
||
19 | * |
||
20 | * @param Coordinate $center |
||
21 | * @param float $distance in meters |
||
22 | * @param BearingInterface $bearing |
||
23 | * @return Bounds |
||
24 | * @throws InvalidArgumentException if bounds crosses the 180/-180 degrees meridian. |
||
25 | */ |
||
26 | public static function expandFromCenterCoordinate( |
||
36 | } |
||
37 |