Searched refs:sumx (Results 1 – 1 of 1) sorted by relevance
58 float sumx = 0; in centroid2d() local68 sumx += (x1 + x2) * a; in centroid2d()73 float centroidx = sumx / (3 * area); in centroid2d()