You are here

public function Geometry::overlaps in geoPHP 8

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

File

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

Class

Geometry
Geometry abstract class

Code

public function overlaps(Geometry $geometry) {
  if ($this
    ->geos()) {
    return $this
      ->geos()
      ->overlaps($geometry
      ->geos());
  }
}