Cylinder and sphere computations