Define a area between ellipsoid and sphere in c++

Job ID: 32592380

Budget: $10 – $30 AUD

In a project we have a geometry that there is a sphere inside ellipsoid, I want to put another shape in the ellipsoid but not in a sphere. How can I define that area.