Convex cones, sets, and functions