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