Generalized Convexity