Does this need to be...?

```cpp
QgsGeometry* pointOnSurface() /Factory/;
```