Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | public function getValues(float $x, float $y): array |
||
28 | { |
||
29 | $latitudeShift = new ArcSecond($this->latitudeGrid->getValues($x, $y)[0]); |
||
30 | $longitudeShift = new ArcSecond($this->longitudeGrid->getValues($x, $y)[0]); |
||
31 | $heightShift = $this->ellipsoidHeightGrid ? new Metre($this->ellipsoidHeightGrid->getValues($x, $y)[0]) : null; |
||
32 | |||
33 | return [$latitudeShift, $longitudeShift, $heightShift]; |
||
34 | } |
||
36 |