for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* PHPCoord.
*
* @author Doug Wright
*/
declare(strict_types=1);
namespace PHPCoord;
use PHPCoord\CoordinateReferenceSystem\CoordinateReferenceSystem;
use PHPCoord\CoordinateReferenceSystem\Projected;
* Coordinate representing a point on a map projection.
abstract class ProjectedPoint extends Point
{
* Coordinate reference system.
* @var CoordinateReferenceSystem
protected $crs;
public function __construct(Projected $crs)
$this->crs = $crs;
}
public function getCRS(): CoordinateReferenceSystem
return $this->crs;