In my work I deal with planar faces almost exclusively. So for the face inside face problem I can usually get away withu using my own PolygonIsInsidePolygon method which I'm sure isn't the most efficient algorithm. For something a bit more performant I would suggest making use of the boolean operations available in a polygon clipping library such as Clipper.
↧