Esempio n. 1
0
 public function __construct($srid = null, $with_z = false, $with_m = false)
 {
     parent::__construct($srid, $with_z, $with_m);
     $this->binary_type = 2;
     $this->text_type = 'LINESTRING';
     $this->points = array();
 }
Esempio n. 2
0
 public function __construct($srid = null, $with_z = false, $with_m = false)
 {
     parent::__construct($srid, $with_z, $with_m);
     $this->binary_type = 3;
     $this->text_type = 'POLYGON';
     $this->rings = array();
 }
Esempio n. 3
0
 public function __construct($srid = null, $with_z = false, $with_m = false)
 {
     parent::__construct($srid, $with_z, $with_m);
     $this->binary_type = 7;
     $this->text_type = 'GEOMETRYCOLLECTION';
     $this->geometries = array();
 }
Esempio n. 4
0
 public function __construct($srid = null, $with_z = false, $with_m = false)
 {
     parent::__construct($srid, $with_z, $with_m);
     $this->binary_type = 1;
     $this->text_type = 'POINT';
     $this->x = 0;
     $this->y = 0;
     $this->z = 0;
     $this->m = 0;
 }
Esempio n. 5
0
 public function __construct($x, $y)
 {
     $this->x = $x;
     $this->y = $y;
     parent::__construct(__CLASS__);
 }