[cgma-dev] r5474 - cgm/branches/merge-cubit13.1/geom/ACIS_SRC

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Tue Apr 10 12:33:22 CDT 2012


Author: janehu
Date: 2012-04-10 12:33:21 -0500 (Tue, 10 Apr 2012)
New Revision: 5474

Modified:
   cgm/branches/merge-cubit13.1/geom/ACIS_SRC/AcisModifyEngine.cpp
Log:
Removed unnecessary functions in file.

Modified: cgm/branches/merge-cubit13.1/geom/ACIS_SRC/AcisModifyEngine.cpp
===================================================================
--- cgm/branches/merge-cubit13.1/geom/ACIS_SRC/AcisModifyEngine.cpp	2012-04-10 16:14:55 UTC (rev 5473)
+++ cgm/branches/merge-cubit13.1/geom/ACIS_SRC/AcisModifyEngine.cpp	2012-04-10 17:33:21 UTC (rev 5474)
@@ -7586,7 +7586,7 @@
       }
     }
     BodySM* stitched_body = NULL;
-    CubitStatus stat = stitch_surfs(bodysm_list, stitched_body);
+    CubitStatus stat = stitch(bodysm_list, stitched_body, CUBIT_FALSE, 1e-6);
     if(stat && stitched_body != NULL)
       shell_bodies.append(stitched_body);
   }
@@ -21104,59 +21104,6 @@
   return CUBIT_SUCCESS;
 }
 
-/*
-CubitStatus AcisModifyEngine::stitch_surfs(
-                                             DLIList<BodySM*>& surf_bodies,
-                                             BodySM*& stitched_body)const
-{
-   stitched_body = NULL;
-   if (surf_bodies.size()==0)
-     return CUBIT_SUCCESS;
-
-   if (surf_bodies.size()==1)
-   {
-      stitched_body = surf_bodies.get();
-      return CUBIT_SUCCESS;
-   }
-
-   BODY* tool_BODY = NULL;
-   BodySM * tool_body;
-   DLIList<FACE*> stitch_FACES;
-   for(int i=0; i < surf_bodies.size();i++)
-   {
-     tool_body = surf_bodies.get_and_step();
-     tool_BODY = AcisQueryEngine::get_BODY( const_cast<BodySM*>(tool_body) );
-     FACE *FACE_ptr = tool_BODY->lump()->shell()->first_face();
-     stitch_FACES.append( FACE_ptr );
-   }
-
-   CubitStatus status;
-   //stitch FACEs together into one BODY
-   //they may not stitch into one single FACE...
-
-   tool_BODY = NULL;
-
-   FACE *dummy_FACE = NULL;
-


More information about the cgma-dev mailing list