An algorithm for overlaying 3D features using a tetrahedral network