You are here

public function Geometry::symDifference in geoPHP 8

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

File

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

Class

Geometry
Geometry abstract class

Code

public function symDifference(Geometry $geometry) {
  if ($this
    ->geos()) {
    return geoPHP::geosToGeometry($this
      ->geos()
      ->symDifference($geometry
      ->geos()));
  }
}