You are here

public function Geometry::checkValidity in geoPHP 7

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

File

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

Class

Geometry
Geometry abstract class

Code

public function checkValidity() {
  if ($this
    ->geos()) {
    return $this
      ->geos()
      ->checkValidity();
  }
}