[cgma-dev] r2730 - cgm/trunk/test
jiangtao_ma at yahoo.com
jiangtao_ma at yahoo.com
Thu Mar 19 14:56:44 CDT 2009
Author: janehu
Date: 2009-03-19 14:56:43 -0500 (Thu, 19 Mar 2009)
New Revision: 2730
Modified:
cgm/trunk/test/modify.cpp
Log:
Added ref_edges number check for a convinent read of the test result.
Modified: cgm/trunk/test/modify.cpp
===================================================================
--- cgm/trunk/test/modify.cpp 2009-03-19 19:38:56 UTC (rev 2729)
+++ cgm/trunk/test/modify.cpp 2009-03-19 19:56:43 UTC (rev 2730)
@@ -134,19 +134,32 @@
body->ref_edges(ref_edges);
DLIList<Body*> new_bodies;
int isize=ref_edges.size();
+ //isize = 12
+
for(int i = 2; i < isize; i++)
ref_edges.pop();
gmti->tweak_fillet(ref_edges, 1, new_bodies, CUBIT_FALSE, CUBIT_FALSE);
ref_edges.clean_out();
+ new_bodies.get()->ref_edges(ref_edges);
+ isize=ref_edges.size();
+ //isize = 21
+
+ ref_edges.clean_out();
new_bodies.clean_out();
body2->ref_edges(ref_edges);
isize=ref_edges.size();
+ //isize = 12
for(int i = 2; i < isize; i++)
ref_edges.pop();
gmti->tweak_chamfer(ref_edges, 1, new_bodies, 1);
+ ref_edges.clean_out();
+ new_bodies.get()->ref_edges(ref_edges);
+ isize=ref_edges.size();
+ //isize = 17
+
CubitStatus rsl = CUBIT_SUCCESS;
DLIList<RefEntity*> ref_entity_list;
int num_ents_exported=0;
More information about the cgma-dev
mailing list