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