You are here

public function Point::getBBox in geoPHP 7

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

Overrides Geometry::getBBox

File

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

Class

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

Code

public function getBBox() {
  return array(
    'maxy' => $this
      ->getY(),
    'miny' => $this
      ->getY(),
    'maxx' => $this
      ->getX(),
    'minx' => $this
      ->getX(),
  );
}