[cgma-dev] r4734 - cgm/branches/merge-cubit12/geom/testing
jiangtao_ma at yahoo.com
jiangtao_ma at yahoo.com
Wed Apr 13 09:49:38 CDT 2011
Author: janehu
Date: 2011-04-13 09:49:37 -0500 (Wed, 13 Apr 2011)
New Revision: 4734
Modified:
cgm/branches/merge-cubit12/geom/testing/CreateGeometry.cpp
Log:
Changed the bounding box check for oriented box because the numbers are provided from OCC engine, and acis should provide a smaller box.
Modified: cgm/branches/merge-cubit12/geom/testing/CreateGeometry.cpp
===================================================================
--- cgm/branches/merge-cubit12/geom/testing/CreateGeometry.cpp 2011-04-12 17:48:00 UTC (rev 4733)
+++ cgm/branches/merge-cubit12/geom/testing/CreateGeometry.cpp 2011-04-13 14:49:37 UTC (rev 4734)
@@ -56,7 +56,9 @@
if (identical)
return 0;
- if( bnd_box < comp_box || bnd_box > comp_box*1.09)
+ //because this box is given from OCC engine, acis engine should give smaller
+ //box.
+ if( bnd_box > comp_box || bnd_box < comp_box/1.09)
{
printf("boxes not identical\n");
return 1;
More information about the cgma-dev
mailing list