Exemplo n.º 1
0
 /**
  * Create a new object representing a UTM reference.
  *
  * @param int $aEasting
  * @param int $aNorthing
  * @param string $aLatZone
  * @param int $aLngZone
  */
 public function __construct($aEasting, $aNorthing, $aLatZone, $aLngZone)
 {
     $this->latZone = $aLatZone;
     $this->lngZone = $aLngZone;
     parent::__construct($aEasting, $aNorthing);
 }
Exemplo n.º 2
0
 /**
  * @param int $x
  * @param int $y
  * @param int $z
  */
 public function __construct($x, $y, $z = 0)
 {
     parent::__construct($x, $y, $z, RefEll::airyModified());
 }
Exemplo n.º 3
0
 /**
  * @param int $x
  * @param int $y
  * @param int $z
  */
 public function __construct($x, $y, $z = 0)
 {
     parent::__construct($x, $y, $z, RefEll::grs80());
 }
Exemplo n.º 4
0
 /**
  * Create a new object representing a UTM reference.
  *
  * @param int $x
  * @param int $y
  * @param int $z
  * @param string $latZone
  * @param int $lngZone
  */
 public function __construct($x, $y, $z, $latZone, $lngZone)
 {
     $this->latZone = $latZone;
     $this->lngZone = $lngZone;
     parent::__construct($x, $y, $z, RefEll::wgs84());
 }
Exemplo n.º 5
0
 /**
  * Create a new object representing a OSGB reference.
  *
  * @param int $x
  * @param int $y
  * @param int $z
  */
 public function __construct($x, $y, $z = 0)
 {
     parent::__construct($x, $y, $z, RefEll::airy1830());
 }