This might be feasible if the meshes are extremely simple, but in general it would be very difficult.
Consider something as simple as a torus ( i.e. donut ) and a cylinder. Is the cylinder inside the torus?
It may be that all the cylinder's vertices are inside the torus, but part of the cylinder is outside, in the 'donut hole'.
Consider something as simple as a torus ( i.e. donut ) and a cylinder. Is the cylinder inside the torus?
It may be that all the cylinder's vertices are inside the torus, but part of the cylinder is outside, in the 'donut hole'.