[cgma-dev] r5337 - cgm/trunk/geom/ACIS_SRC

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Mon Jan 23 11:56:39 CST 2012


Author: janehu
Date: 2012-01-23 11:56:39 -0600 (Mon, 23 Jan 2012)
New Revision: 5337

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

Modified: cgm/trunk/geom/ACIS_SRC/AcisQueryEngine.cpp
===================================================================
--- cgm/trunk/geom/ACIS_SRC/AcisQueryEngine.cpp	2012-01-23 17:35:46 UTC (rev 5336)
+++ cgm/trunk/geom/ACIS_SRC/AcisQueryEngine.cpp	2012-01-23 17:56:39 UTC (rev 5337)
@@ -340,7 +340,6 @@
                                                     const char* filename,
                                                     const char* filetype,
                                                     const CubitString &cubit_version,
-                                                    const char* unit,
                                                     const char* logfile_name) 
 {
      // Check to make sure we are exporting valid types
@@ -883,8 +882,7 @@
   CubitBoolean import_surfaces,
   CubitBoolean import_curves,
   CubitBoolean import_vertices,
-  CubitBoolean free_surfaces,
-  const char*  unit) //not used here 
+  CubitBoolean free_surfaces) 
 {
   CpuTimer import_solid_model_timer;
   CubitBoolean step_import = CUBIT_FALSE;

Modified: cgm/trunk/geom/ACIS_SRC/AcisQueryEngine.hpp
===================================================================
--- cgm/trunk/geom/ACIS_SRC/AcisQueryEngine.hpp	2012-01-23 17:35:46 UTC (rev 5336)
+++ cgm/trunk/geom/ACIS_SRC/AcisQueryEngine.hpp	2012-01-23 17:56:39 UTC (rev 5337)
@@ -178,7 +178,6 @@
     const char* file_name,
     const char* file_type,
     const CubitString &cubit_version,
-    const char* unit = NULL,
     const char* logfile_name = NULL ) ;
     //R CubitStatus
     //R- CUBIT_SUCCESS/CUBIT_FAILURE
@@ -233,8 +232,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 ) ;
     //R CubitStatus
     //R- CUBIT_SUCCESS/CUBIT_FAILURE
     //I file_ptr








More information about the cgma-dev mailing list