[MOAB-dev] r1977 - MOAB/trunk/tools/dagmc

bmsmith at mcs.anl.gov bmsmith at mcs.anl.gov
Thu Jul 3 11:52:10 CDT 2008


Author: bmsmith
Date: 2008-07-03 11:52:09 -0500 (Thu, 03 Jul 2008)
New Revision: 1977

Modified:
   MOAB/trunk/tools/dagmc/cgm2moab.cc
Log:
fix: surface sense should be independent of modeling engine (ACIS or Catia)


Modified: MOAB/trunk/tools/dagmc/cgm2moab.cc
===================================================================
--- MOAB/trunk/tools/dagmc/cgm2moab.cc	2008-07-03 14:56:52 UTC (rev 1976)
+++ MOAB/trunk/tools/dagmc/cgm2moab.cc	2008-07-03 16:52:09 UTC (rev 1977)
@@ -432,8 +432,8 @@
           type = MBPOLYGON;
       }
       
-      if (surf->bridge_sense() == CUBIT_REVERSED)
-        std::reverse( corners.begin(), corners.end() );
+      // if (surf->bridge_sense() == CUBIT_REVERSED)
+      //   std::reverse( corners.begin(), corners.end() );
       
       MBEntityHandle h;
       rval = iface->create_element( type, &corners[0], corners.size(), h );




More information about the moab-dev mailing list