Lines Matching refs: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;
328 * @param Point $point
331 protected function writePoint($point)
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);