Loading src/TriangleInsertion.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -745,7 +745,8 @@ void floatTetWild::find_cutting_tets(int f_id, const std::vector<Vector3> &input // const int CUT_UNKNOWN = INT_MIN; // std::vector<std::array<int, 4>> visited_results(mesh.tets.size(), {{CUT_UNKNOWN, CUT_UNKNOWN, CUT_UNKNOWN, CUT_UNKNOWN}}); const int test_f_id = 771; // const int test_f_id = 771; const int test_f_id = -1; const int test_j = 1; const int test_v_id = input_faces[test_f_id][test_j]; while (!queue_t_ids.empty()) { Loading src/main.cpp +0 −18 Original line number Diff line number Diff line Loading @@ -85,24 +85,6 @@ void connect_2_meshes(std::string m1, std::string m2, std::string m); extern "C" void exactinit(); int main(int argc, char **argv) { // std::array<int, 4> comb = {{0,1,2,3}}; // for(int a=0;a<4;a++){ // for(int i=0;i<4;i++){ // if(comb[i]==a) // continue; // int b = comb[i]; // std::vector<int> cc; // for(int j=0;j<4;j++) { // if(comb[j]!=a && comb[j]!=b) { // cc.push_back(comb[j]); // } // } // cout << "{{"<<a << ", " << b << ", "<<cc[0]<<", "<<cc[1]<<"}}, "<<endl; // cout << "{{"<<a << ", " << b << ", "<<cc[1]<<", "<<cc[0]<<"}}, "<<endl; // } // } // return 0; // connect_2_meshes("/Users/yixinhu/Downloads/test_cutting/100729.stl", // "/Users/yixinhu/Downloads/test_cutting/37627.stl"); Loading Loading
src/TriangleInsertion.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -745,7 +745,8 @@ void floatTetWild::find_cutting_tets(int f_id, const std::vector<Vector3> &input // const int CUT_UNKNOWN = INT_MIN; // std::vector<std::array<int, 4>> visited_results(mesh.tets.size(), {{CUT_UNKNOWN, CUT_UNKNOWN, CUT_UNKNOWN, CUT_UNKNOWN}}); const int test_f_id = 771; // const int test_f_id = 771; const int test_f_id = -1; const int test_j = 1; const int test_v_id = input_faces[test_f_id][test_j]; while (!queue_t_ids.empty()) { Loading
src/main.cpp +0 −18 Original line number Diff line number Diff line Loading @@ -85,24 +85,6 @@ void connect_2_meshes(std::string m1, std::string m2, std::string m); extern "C" void exactinit(); int main(int argc, char **argv) { // std::array<int, 4> comb = {{0,1,2,3}}; // for(int a=0;a<4;a++){ // for(int i=0;i<4;i++){ // if(comb[i]==a) // continue; // int b = comb[i]; // std::vector<int> cc; // for(int j=0;j<4;j++) { // if(comb[j]!=a && comb[j]!=b) { // cc.push_back(comb[j]); // } // } // cout << "{{"<<a << ", " << b << ", "<<cc[0]<<", "<<cc[1]<<"}}, "<<endl; // cout << "{{"<<a << ", " << b << ", "<<cc[1]<<", "<<cc[0]<<"}}, "<<endl; // } // } // return 0; // connect_2_meshes("/Users/yixinhu/Downloads/test_cutting/100729.stl", // "/Users/yixinhu/Downloads/test_cutting/37627.stl"); Loading