Replace GEOS function calls by QgsGeometry class methods