public function Geometry::difference in geoPHP 8
Same name and namespace in other branches
- 7 geoPHP/lib/geometry/Geometry.class.php \Geometry::difference()
File
- geoPHP/
lib/ geometry/ Geometry.class.php, line 209
Class
- Geometry
- Geometry abstract class
Code
public function difference(Geometry $geometry) {
if ($this
->geos()) {
return geoPHP::geosToGeometry($this
->geos()
->difference($geometry
->geos()));
}
}