| Total Complexity | 3 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 75% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | abstract class CoordinateSystem |
||
| 12 | { |
||
| 13 | public const CS_TYPE_CARTESIAN = 'Cartesian'; |
||
| 14 | |||
| 15 | public const CS_TYPE_ELLIPSOIDAL = 'ellipsoidal'; |
||
| 16 | |||
| 17 | public const CS_TYPE_ORDINAL = 'ordinal'; |
||
| 18 | |||
| 19 | public const CS_TYPE_SPHERICAL = 'spherical'; |
||
| 20 | |||
| 21 | public const CS_TYPE_VERTICAL = 'vertical'; |
||
| 22 | |||
| 23 | protected string $srid; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var Axis[] |
||
| 27 | */ |
||
| 28 | protected array $axes; |
||
| 29 | |||
| 30 | 216 | public function __construct( |
|
| 31 | string $srid, |
||
| 32 | array $axes |
||
| 33 | ) { |
||
| 34 | 216 | $this->srid = $srid; |
|
| 35 | 216 | $this->axes = $axes; |
|
| 36 | 216 | } |
|
| 37 | |||
| 38 | public function getSRID(): string |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return Axis[] |
||
| 45 | */ |
||
| 46 | 216 | public function getAxes(): array |
|
| 51 |