You are here

public function Point::centroid in geoPHP 8

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

Overrides Geometry::centroid

File

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

Class

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

Code

public function centroid() {
  return $this;
}