You are here

public function Geometry::coveredBy in geoPHP 8

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

File

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

Class

Geometry
Geometry abstract class

Code

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