Lines Matching defs:lastPoint
56 private $lastPoint = null;
168 $this->lastPoint = new Point(0, 0, 0, 0);
214 $this->lastPoint->x() + $this->reader->readSVarInt() / $options['precisionFactor'],
218 $this->lastPoint->y() + $this->reader->readSVarInt() / $options['precisionFactor'],
222 $this->lastPoint->z() + $this->reader->readSVarInt() / $options['zPrecisionFactor'],
226 $this->lastPoint->m() + $this->reader->readSVarInt() / $options['mPrecisionFactor'],
230 $this->lastPoint = new Point($x, $y, $z, $m);
231 return $this->lastPoint;
389 $this->lastPoint = new Point(0, 0, 0, 0);
465 $twkb = $this->writer->writeSVarInt($x - $this->lastPoint->x());
466 $twkb .= $this->writer->writeSVarInt($y - $this->lastPoint->y());
468 $twkb .= $this->writer->writeSVarInt($z - $this->lastPoint->z());
471 $twkb .= $this->writer->writeSVarInt($m - $this->lastPoint->m());
474 $this->lastPoint = new Point($x, $y, $this->writeOptions['hasZ'] ? $z : null, $this->writeOptions['hasM'] ? $m : null);