Clustering functional data on convex function spaces