basically centroid is related to the shape of the lamina but com is actually related to mass distribution : we defined com for uniform density and then we defined centroid and we fixed the definition for centroid for a particular case of com, i believe