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