Gets the centroid of the figure.
If the operation is successful, it returns a DlxPoint with the coordinates; otherwise it returns an invalid point. Use IsValid to verify that the point is valid.