Is it possible to compare 2 meshes for the complementarity of their respective surfaces?
This is actually a not so trivial problem. You might be better off asking this question on the maths stack exchange as it will require more than just Blender knowledge.

This will require coding skills as well, I fear.