Lines Matching refs:null

15     protected $x = null;
17 protected $y = null;
19 protected $z = null;
21 protected $m = null;
26 * @param int|float|null $x The x coordinate (or longitude)
27 * @param int|float|null $y The y coordinate (or latitude)
28 * @param int|float|null $z The z coordinate (or altitude) - optional
29 * @param int|float|null $m Measure - optional
32 public function __construct($x = null, $y = null, $z = null, $m = null)
34 // If X or Y is null than it is an empty point
35 if ($x !== null && $y !== null) {
47 if ($z !== null) {
52 $this->z = $this->x !== null ? floatval($z) : null;
56 if ($m !== null) {
61 $this->m = $this->x !== null ? floatval($m) : null;
137 $this->setGeos(null);
175 return [$this->x, $this->y, null, $this->m];
192 return $this->x === null;
244 $this->z = null;
245 $this->m = null;
248 $this->setGeos(null);
253 * @return float|null
258 return null;
273 $distance = null;
279 if ($checkDistance === null) {
282 if ($distance === null || $checkDistance < $distance) {
291 $distance = null;
324 if ($distance === null || $checkDistance < $distance) {
334 return $this->hasZ ? $this->z() : null;
339 return $this->hasZ ? $this->z() : null;
344 return $this->isMeasured ? $this->m() : null;
349 return $this->isMeasured ? $this->m() : null;
369 public function greatCircleLength($radius = null)
381 return null;
386 return null;
391 return null;
396 return null;
401 return null;
406 return null;
411 return null;
416 return null;
421 return null;
426 return null;
431 return null;
436 return null;
441 return null;
446 * @return null
450 return null;