Lines Matching full:point
7 use geoPHP\Geometry\Point; alias
53 Geometry::POINT => 1,
157 $geometry = $this->getMulti('Point');
183 $point = null;
186 $point = new Point($coordinates[0], $coordinates[1]);
190 $point = new Point($coordinates[0], $coordinates[1], $coordinates[2]);
192 $point = new Point($coordinates[0], $coordinates[1], null, $coordinates[2]);
196 … $point = new Point($coordinates[0], $coordinates[1], $coordinates[2], $coordinates[3]);
199 return $point;
214 $point = $this->getPoint();
215 if ($point) {
216 $components[] = $point;
252 case 'Point':
295 case Geometry::POINT:
296 /** @var Point $geometry */
328 * @param Point $point
331 protected function writePoint($point) argument
333 if ($point->isEmpty()) {
336 $wkb = $this->writer->writeDouble($point->x()) . $this->writer->writeDouble($point->y());
339 $wkb .= $this->writer->writeDouble($point->z());
342 $wkb .= $this->writer->writeDouble($point->m());
357 foreach ($line->getComponents() as $i => $point) {
358 $wkb .= $this->writePoint($point);