[cgma-dev] r5339 - cgm/trunk/geom/virtual

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Mon Jan 23 12:15:40 CST 2012


Author: janehu
Date: 2012-01-23 12:15:39 -0600 (Mon, 23 Jan 2012)
New Revision: 5339

Modified:
   cgm/trunk/geom/virtual/VirtualQueryEngine.cpp
   cgm/trunk/geom/virtual/VirtualQueryEngine.hpp
Log:
Change the code back to be compatible to Cubit interface and keep CGM a unitless system.

Modified: cgm/trunk/geom/virtual/VirtualQueryEngine.cpp
===================================================================
--- cgm/trunk/geom/virtual/VirtualQueryEngine.cpp	2012-01-23 17:59:45 UTC (rev 5338)
+++ cgm/trunk/geom/virtual/VirtualQueryEngine.cpp	2012-01-23 18:15:39 UTC (rev 5339)
@@ -1652,7 +1652,6 @@
                                         const char* ,
                                         const char* ,
                                         const CubitString &,
-                                        const char*,
                                                        const char* )  
 {
   return CUBIT_FAILURE;
@@ -1692,8 +1691,7 @@
                                                       CubitBoolean ,
                                                       CubitBoolean ,
                                                       CubitBoolean ,
-                                                      CubitBoolean ,
-                                                      const char* )  
+                                                      CubitBoolean  )  
 {
   PRINT_INFO("VirtualQueryEngine::import_solid_model\n");
   

Modified: cgm/trunk/geom/virtual/VirtualQueryEngine.hpp
===================================================================
--- cgm/trunk/geom/virtual/VirtualQueryEngine.hpp	2012-01-23 17:59:45 UTC (rev 5338)
+++ cgm/trunk/geom/virtual/VirtualQueryEngine.hpp	2012-01-23 18:15:39 UTC (rev 5339)
@@ -357,7 +357,6 @@
                                           const char* file_name,
                                           const char* file_type,
                                           const CubitString &cubit_version,
-                                          const char* unit = NULL,
                                           const char* logfile_name = NULL );
 
   virtual CubitStatus export_solid_model( DLIList<TopologyBridge*>& bridge_list,
@@ -387,8 +386,7 @@
                              CubitBoolean import_surfaces = CUBIT_TRUE,
                              CubitBoolean import_curves = CUBIT_TRUE,
                              CubitBoolean import_vertices = CUBIT_TRUE,
-                             CubitBoolean free_surfaces = CUBIT_TRUE,
-                             const char*  unit = NULL );
+                             CubitBoolean free_surfaces = CUBIT_TRUE );
 
   virtual CubitStatus import_solid_model(DLIList<TopologyBridge*> &imported_entities,
 					 const char* pBuffer,








More information about the cgma-dev mailing list