[cgma-dev] r5338 - cgm/trunk/geom/facet

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Mon Jan 23 11:59:45 CST 2012


Author: janehu
Date: 2012-01-23 11:59:45 -0600 (Mon, 23 Jan 2012)
New Revision: 5338

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

Modified: cgm/trunk/geom/facet/FacetQueryEngine.cpp
===================================================================
--- cgm/trunk/geom/facet/FacetQueryEngine.cpp	2012-01-23 17:56:39 UTC (rev 5337)
+++ cgm/trunk/geom/facet/FacetQueryEngine.cpp	2012-01-23 17:59:45 UTC (rev 5338)
@@ -702,7 +702,6 @@
                                                      const char* file_name,
                                                      const char* file_type,
                                                      const CubitString &,
-                                                     const char*,
                                                      const char*)
 {
   if( strcmp( file_type, "FACET" ) )
@@ -1752,8 +1751,7 @@
                                                  CubitBoolean import_surfaces,
                                                  CubitBoolean import_curves,
                                                  CubitBoolean import_vertices,
-                                                 CubitBoolean free_surfaces,
-                                                 const char* unit) //not used
+                                                 CubitBoolean free_surfaces)
 {
   errno = 0;
   FILE *file_ptr = fopen(file_name, "rb");

Modified: cgm/trunk/geom/facet/FacetQueryEngine.hpp
===================================================================
--- cgm/trunk/geom/facet/FacetQueryEngine.hpp	2012-01-23 17:56:39 UTC (rev 5337)
+++ cgm/trunk/geom/facet/FacetQueryEngine.hpp	2012-01-23 17:59:45 UTC (rev 5338)
@@ -249,7 +249,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,
@@ -278,9 +277,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