[cgma-dev] r4469 - cgm/trunk/geom/OCC
jiangtao_ma at yahoo.com
jiangtao_ma at yahoo.com
Tue Jan 25 13:33:29 CST 2011
Author: janehu
Date: 2011-01-25 13:33:28 -0600 (Tue, 25 Jan 2011)
New Revision: 4469
Modified:
cgm/trunk/geom/OCC/OCCQueryEngine.cpp
Log:
Change back to not create sliver curves and surfaces. Otherwise, the model do show some sliver edges created which are not expected.
Modified: cgm/trunk/geom/OCC/OCCQueryEngine.cpp
===================================================================
--- cgm/trunk/geom/OCC/OCCQueryEngine.cpp 2011-01-24 20:16:57 UTC (rev 4468)
+++ cgm/trunk/geom/OCC/OCCQueryEngine.cpp 2011-01-25 19:33:28 UTC (rev 4469)
@@ -1968,7 +1968,7 @@
double area = myProps.Mass();
double tol = get_sme_resabs_tolerance();
if(area < tol * tol)
- PRINT_WARNING("Generated a sliver surface. \n");
+ return CUBIT_FAILURE;
if (!OCCMap->IsBound(aShape))
{
@@ -2169,7 +2169,7 @@
BRepGProp::LinearProperties(aShape, myProps);
double length = myProps.Mass();
if(length < get_sme_resabs_tolerance())
- PRINT_WARNING("Generated a sliver curve. \n");
+ return CUBIT_FAILURE;
if (!OCCMap->IsBound(aShape))
{
More information about the cgma-dev
mailing list