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(); }
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(); }
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(); }
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; }
public function __construct($x, $y) { $this->x = $x; $this->y = $y; parent::__construct(__CLASS__); }