You are here

public function Geometry::getCentroid in geoPHP 7

Same name and namespace in other branches
  1. 8 geoPHP/lib/geometry/Geometry.class.php \Geometry::getCentroid()
1 call to Geometry::getCentroid()
Polygon::outermostPoint in geoPHP/lib/geometry/Polygon.class.php
* Find the outermost point from the centroid * * @returns Point The outermost point

File

geoPHP/lib/geometry/Geometry.class.php, line 104

Class

Geometry
Geometry abstract class

Code

public function getCentroid() {
  return $this
    ->centroid();
}