[cgma-dev] r4453 - cgm/branches/merge-cubit12/geom/OCC

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Tue Jan 18 11:46:44 CST 2011


Author: janehu
Date: 2011-01-18 11:46:44 -0600 (Tue, 18 Jan 2011)
New Revision: 4453

Modified:
   cgm/branches/merge-cubit12/geom/OCC/
   cgm/branches/merge-cubit12/geom/OCC/OCCBody.cpp
   cgm/branches/merge-cubit12/geom/OCC/OCCBody.hpp
   cgm/branches/merge-cubit12/geom/OCC/OCCCurve.cpp
   cgm/branches/merge-cubit12/geom/OCC/OCCCurve.hpp
   cgm/branches/merge-cubit12/geom/OCC/OCCLoop.cpp
   cgm/branches/merge-cubit12/geom/OCC/OCCLoop.hpp
   cgm/branches/merge-cubit12/geom/OCC/OCCLump.cpp
   cgm/branches/merge-cubit12/geom/OCC/OCCLump.hpp
   cgm/branches/merge-cubit12/geom/OCC/OCCModifyEngine.cpp
   cgm/branches/merge-cubit12/geom/OCC/OCCPoint.cpp
   cgm/branches/merge-cubit12/geom/OCC/OCCPoint.hpp
   cgm/branches/merge-cubit12/geom/OCC/OCCQueryEngine.cpp
   cgm/branches/merge-cubit12/geom/OCC/OCCQueryEngine.hpp
   cgm/branches/merge-cubit12/geom/OCC/OCCShell.cpp
   cgm/branches/merge-cubit12/geom/OCC/OCCShell.hpp
   cgm/branches/merge-cubit12/geom/OCC/OCCSurface.cpp
   cgm/branches/merge-cubit12/geom/OCC/OCCSurface.hpp
   cgm/branches/merge-cubit12/geom/OCC/occ_patches
Log:
Update for scale with a vector, merged from r4438.


Property changes on: cgm/branches/merge-cubit12/geom/OCC
___________________________________________________________________
Modified: svn:mergeinfo
   - /cgm/branches/cubit/geom/OCC:1041-3427
/cgm/trunk/geom/OCC:3424-4340
   + /cgm/branches/cubit/geom/OCC:1041-3427
/cgm/trunk/geom/OCC:3424-4452

Modified: cgm/branches/merge-cubit12/geom/OCC/OCCBody.cpp
===================================================================
--- cgm/branches/merge-cubit12/geom/OCC/OCCBody.cpp	2011-01-17 23:36:47 UTC (rev 4452)
+++ cgm/branches/merge-cubit12/geom/OCC/OCCBody.cpp	2011-01-18 17:46:44 UTC (rev 4453)
@@ -39,7 +39,9 @@
 
 #include <TopExp.hxx>
 #include <TopTools_IndexedMapOfShape.hxx>
+#include "BRepBuilderAPI_ModifyShape.hxx"
 #include "BRepBuilderAPI_Transform.hxx"
+#include "BRepBuilderAPI_GTransform.hxx"
 #include "TopTools_DataMapOfShapeInteger.hxx"
 #include "TopTools_ListIteratorOfListOfShape.hxx"
 #include "gp_Ax1.hxx"
@@ -327,20 +329,18 @@
     OCCSurface* surface = mySheetSurfaces.get_and_step();
     TopoDS_Face * face = surface->get_TopoDS_Face();
     aBRepTrsf.Perform(*face);
-    OCCQueryEngine::instance()->update_entity_shape(surface, &aBRepTrsf);
   }
+
   for(int i = 0; i <myShells.size() ; i++)
   {
     OCCShell* occ_shell = myShells.get_and_step();
     TopoDS_Shell* shell = occ_shell->get_TopoDS_Shell();
     aBRepTrsf.Perform(*shell);
-    update_OCC_entity(&aBRepTrsf);
   }
 
   if(myTopoDSShape != NULL)
   {
     aBRepTrsf.Perform(*myTopoDSShape);
-    update_OCC_entity(&aBRepTrsf);
   }
 
   else
@@ -350,9 +350,10 @@
       OCCLump* occ_lump = CAST_TO(myLumps.get_and_step(), OCCLump);
       TopoDS_Solid* solid = occ_lump->get_TopoDS_Solid();
       aBRepTrsf.Perform(*solid);
-      update_OCC_entity(&aBRepTrsf); 
     }


More information about the cgma-dev mailing list