title: Remove occluded faces on a closed mesh
body: <p>I need to remove some hidden faces that are inside a closed triangular mesh. I've found a way to do it using <a href="http://meshlabstuff.blogspot.com/2009/04/how-to-remove-internal-faces-with.html" rel="nofollow">MeshLab</a>, but there are two problems: 1) the article says that it could fail in some cases (can you image in which cases?) and 2) I would like to do it programatically (do you know of any existing implementation?). I don't even know the name of this kind of simplification filters.</p>
  
  <p>I would really appreciate any hint.</p>