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