[cgma-dev] r1606 - cgm/trunk/geom/OCC

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Thu Feb 21 10:55:21 CST 2008


Author: kraftche
Date: 2008-02-21 10:55:21 -0600 (Thu, 21 Feb 2008)
New Revision: 1606

Modified:
   cgm/trunk/geom/OCC/OCCModifyEngine.cpp
   cgm/trunk/geom/OCC/OCCModifyEngine.hpp
   cgm/trunk/geom/OCC/OCCSurface.cpp
Log:
fix compile errors

Modified: cgm/trunk/geom/OCC/OCCModifyEngine.cpp
===================================================================
--- cgm/trunk/geom/OCC/OCCModifyEngine.cpp	2008-02-21 16:38:17 UTC (rev 1605)
+++ cgm/trunk/geom/OCC/OCCModifyEngine.cpp	2008-02-21 16:55:21 UTC (rev 1606)
@@ -648,7 +648,7 @@
   Curve const* curve_ptr = NULL ;
   OCCCurve* occ_curve = NULL;
   TopoDS_Edge* topo_edge = NULL;
-  for ( i = 0 ; i < curve_list.size() ; i++ )
+  for (int i = 0 ; i < curve_list.size() ; i++ )
   {
      curve_ptr = curve_list.get_and_step() ;  
      occ_curve = CAST_TO(const_cast<Curve*>(curve_ptr), OCCCurve);

Modified: cgm/trunk/geom/OCC/OCCModifyEngine.hpp
===================================================================
--- cgm/trunk/geom/OCC/OCCModifyEngine.hpp	2008-02-21 16:38:17 UTC (rev 1605)
+++ cgm/trunk/geom/OCC/OCCModifyEngine.hpp	2008-02-21 16:55:21 UTC (rev 1606)
@@ -654,7 +654,10 @@
                                   DLIList<TopologyBridge*>* ) const; 
   
 protected:
-     
+
+ TopoDS_Face* make_TopoDS_Face( GeometryType surface_type,
+					                      const DLIList<TopoDS_Edge*>& topo_edges, 
+                                Surface* old_surface_ptr) const;     
 private:
   
 } ;

Modified: cgm/trunk/geom/OCC/OCCSurface.cpp
===================================================================
--- cgm/trunk/geom/OCC/OCCSurface.cpp	2008-02-21 16:38:17 UTC (rev 1605)
+++ cgm/trunk/geom/OCC/OCCSurface.cpp	2008-02-21 16:55:21 UTC (rev 1606)
@@ -74,6 +74,7 @@
 
 
 // ********** BEGIN PUBLIC FUNCTIONS       **********
+
 //-------------------------------------------------------------------------
 // Purpose       : The constructor with a pointer to the TopoDS_Face. 
 //




More information about the cgma-dev mailing list