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