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

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Fri Mar 27 11:48:43 CDT 2009


Author: janehu
Date: 2009-03-27 11:48:43 -0500 (Fri, 27 Mar 2009)
New Revision: 2766

Modified:
   cgm/trunk/geom/OCC/OCCSurface.cpp
Log:
Updated for fillet/chamfer testing.

Modified: cgm/trunk/geom/OCC/OCCSurface.cpp
===================================================================
--- cgm/trunk/geom/OCC/OCCSurface.cpp	2009-03-27 16:48:08 UTC (rev 2765)
+++ cgm/trunk/geom/OCC/OCCSurface.cpp	2009-03-27 16:48:43 UTC (rev 2766)
@@ -984,10 +984,11 @@
          }
          shape_vertex.Nullify() ;
        }
-       else if(test_op && !vertex.IsSame( *removed_vertex))
+       else if(op->IsDeleted(vertex) || (test_op && vertex.IsSame( *removed_vertex)))
+         shape_vertex.Nullify() ;
+         
+       else
          shape_vertex = vertex;
-       else
-         shape_vertex.Nullify();
       
        if(!vertex.IsSame(shape_vertex) )
          OCCQueryEngine::instance()->update_OCC_map(vertex, shape_vertex);



More information about the cgma-dev mailing list