You are here

public function Point::isEmpty in geoPHP 7

Same name and namespace in other branches
  1. 8 geoPHP/lib/geometry/Point.class.php \Point::isEmpty()

Overrides Geometry::isEmpty

1 call to Point::isEmpty()
Point::equals in geoPHP/lib/geometry/Point.class.php

File

geoPHP/lib/geometry/Point.class.php, line 131

Class

Point
Point: The most basic geometry type. All other geometries are built out of Points.

Code

public function isEmpty() {
  if ($this->dimension == 0) {
    return TRUE;
  }
  else {
    return FALSE;
  }
}