You are here

public function Geometry::touches in geoPHP 8

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

File

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

Class

Geometry
Geometry abstract class

Code

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