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

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Fri Jan 20 14:42:57 CST 2012


Author: janehu
Date: 2012-01-20 14:42:57 -0600 (Fri, 20 Jan 2012)
New Revision: 5331

Modified:
   cgm/trunk/geom/virtual/VirtualQueryEngine.cpp
   cgm/trunk/geom/virtual/VirtualQueryEngine.hpp
Log:
Added unit parameter for import/export functions for iges files in OCC engine cgm. Passed cgm/test make check.

Modified: cgm/trunk/geom/virtual/VirtualQueryEngine.cpp
===================================================================
--- cgm/trunk/geom/virtual/VirtualQueryEngine.cpp	2012-01-20 20:42:35 UTC (rev 5330)
+++ cgm/trunk/geom/virtual/VirtualQueryEngine.cpp	2012-01-20 20:42:57 UTC (rev 5331)
@@ -1652,6 +1652,7 @@
                                         const char* ,
                                         const char* ,
                                         const CubitString &,
+                                        const char*,
                                                        const char* )  
 {
   return CUBIT_FAILURE;
@@ -1691,7 +1692,8 @@
                                                       CubitBoolean ,
                                                       CubitBoolean ,
                                                       CubitBoolean ,
-                                                      CubitBoolean  )  
+                                                      CubitBoolean ,
+                                                      const char* )  
 {
   PRINT_INFO("VirtualQueryEngine::import_solid_model\n");
   

Modified: cgm/trunk/geom/virtual/VirtualQueryEngine.hpp
===================================================================
--- cgm/trunk/geom/virtual/VirtualQueryEngine.hpp	2012-01-20 20:42:35 UTC (rev 5330)
+++ cgm/trunk/geom/virtual/VirtualQueryEngine.hpp	2012-01-20 20:42:57 UTC (rev 5331)
@@ -357,6 +357,7 @@
                                           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,
@@ -386,7 +387,8 @@
                              CubitBoolean import_surfaces = CUBIT_TRUE,
                              CubitBoolean import_curves = CUBIT_TRUE,
                              CubitBoolean import_vertices = CUBIT_TRUE,
-                             CubitBoolean free_surfaces = CUBIT_TRUE );
+                             CubitBoolean free_surfaces = CUBIT_TRUE,
+                             const char*  unit = NULL );
 
   virtual CubitStatus import_solid_model(DLIList<TopologyBridge*> &imported_entities,
 					 const char* pBuffer,








More information about the cgma-dev mailing list