00001 /** 00002 *\file kfmrh.cpp 00003 * 00004 *\brief connected sum 00005 * 00006 * \em kfmrh(f1, f2) kill the second face and make its boundary as a ring (inner loop) of the first face, 00007 * to either make a hole if both faces are in the same shell, or to kill a shell otherwise. 00008 * 00009 *\image html kfmrh.jpg 00010 *\image html kfsmr.jpg 00011 * 00012 *\author Xianming Chen\n 00013 * Computer Science Department\n 00014 * University of Utah 00015 * 00016 *\date 16 Aug 2006\n 00017 * Copyright (c) 2006, University of Utah 00018 */ 00019 00020 00021 #include <cassert> 00022 #include "euler.h" 00023 00024 namespace euler 00025 { 00026 00027 void solid_t :: kfmrh(face_t* f1, face_t* f2) 00028 { 00029 assert(! f2->l->nxt); 00030 00031 add_face_to(f2, f1); 00032 00033 solid_t::assert_consistent_B_rep(); 00034 } 00035 00036 00037 00038 00039 00040 }//end namespace euler
1.4.6