Calculates the centroids of polygons.
Determites whether centroids should be calculated for each part of multipart polygon or not.
Default: True
processing.runalg('saga:polygoncentroids', polygons, method, centroids)