[cgma-dev] r4471 - cgm/trunk/geom/OCC
tautges at mcs.anl.gov
tautges at mcs.anl.gov
Tue Jan 25 15:09:54 CST 2011
Author: tautges
Date: 2011-01-25 15:09:54 -0600 (Tue, 25 Jan 2011)
New Revision: 4471
Modified:
cgm/trunk/geom/OCC/OCCQueryEngine.cpp
Log:
Fixing a few returns; JANE - YOU SHOULD CHECK THESE.
Modified: cgm/trunk/geom/OCC/OCCQueryEngine.cpp
===================================================================
--- cgm/trunk/geom/OCC/OCCQueryEngine.cpp 2011-01-25 21:05:19 UTC (rev 4470)
+++ cgm/trunk/geom/OCC/OCCQueryEngine.cpp 2011-01-25 21:09:54 UTC (rev 4471)
@@ -1968,7 +1968,7 @@
double area = myProps.Mass();
double tol = get_sme_resabs_tolerance();
if(area < tol * tol)
- return CUBIT_FAILURE;
+ return NULL;
if (!OCCMap->IsBound(aShape))
{
@@ -2169,7 +2169,7 @@
BRepGProp::LinearProperties(aShape, myProps);
double length = myProps.Mass();
if(length < get_sme_resabs_tolerance())
- return CUBIT_FAILURE;
+ return NULL;
if (!OCCMap->IsBound(aShape))
{
More information about the cgma-dev
mailing list