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