best zoom & fit a 3d geometrical object into the other generated from raw

I want to best zoom & fit one geometrical object into the other. How can I get the best zoom size, the orientation in X, Y and Z direction & the voulme of the raw & the geometrical object.

Can I do this with opengl & VB.

NB: I have already got vertex of both this objects.

Further I want to split one object by a line & then fit the 2nd object into the first or the second half of the splitted object