A General Construction of Barycentric Coordinates over Convex Polygons