On functionally graded balls and cones