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)) {
participants (1)
-
tautges@mcs.anl.gov