[cgma-dev] r2478 - cgm/trunk/itaps
janehu at mcs.anl.gov
janehu at mcs.anl.gov
Wed Dec 10 10:41:40 CST 2008
Author: janehu
Date: 2008-12-10 10:41:39 -0600 (Wed, 10 Dec 2008)
New Revision: 2478
Modified:
cgm/trunk/itaps/testgeom.cc
Log:
Added Section commands for OCC testing.
Modified: cgm/trunk/itaps/testgeom.cc
===================================================================
--- cgm/trunk/itaps/testgeom.cc 2008-12-10 16:40:29 UTC (rev 2477)
+++ cgm/trunk/itaps/testgeom.cc 2008-12-10 16:41:39 UTC (rev 2478)
@@ -1136,14 +1136,9 @@
// section the brick
iBase_EntityHandle section_result = 0;
-#ifdef FORCE_OCC
- section_result = subtract_result;
-#elif defined(USE_OCC)
- section_result = subtract_result;
-#else
iGeom_sectionEnt( geom, &subtract_result, 1.0, 0.0, 0.0, 0.25, true, §ion_result, &err );
CHECK( "Problems sectioning for booleans section test." );
-#endif
+
// unite the section result with a new cylinder
iGeom_createCylinder( geom, 1.0, 0.25, 0.0, &cyl, &err );
CHECK( "Problems creating cylinder for unite test." );
More information about the cgma-dev
mailing list