[MOAB-dev] r4229 - MOAB/trunk/itaps/igeom
iulian at mcs.anl.gov
iulian at mcs.anl.gov
Wed Oct 20 09:33:03 CDT 2010
Author: iulian
Date: 2010-10-20 09:33:03 -0500 (Wed, 20 Oct 2010)
New Revision: 4229
Modified:
MOAB/trunk/itaps/igeom/iGeom_MOAB.cpp
Log:
use return macro
Modified: MOAB/trunk/itaps/igeom/iGeom_MOAB.cpp
===================================================================
--- MOAB/trunk/itaps/igeom/iGeom_MOAB.cpp 2010-10-20 13:57:15 UTC (rev 4228)
+++ MOAB/trunk/itaps/igeom/iGeom_MOAB.cpp 2010-10-20 14:33:03 UTC (rev 4229)
@@ -165,7 +165,7 @@
rval = MBI->tag_create("CONTROLEDGE", 9 * sizeof(double), MB_TAG_DENSE,
edgeCtrlTag, &defCtrlPoints);
if (MB_SUCCESS != rval)
- return MB_FAILURE;
+ return false;
Tag facetCtrlTag;
double defControls[18] = { 0. };
@@ -1270,8 +1270,7 @@
(*intersect_coords)[3*i+j] = pos[j];
}
}
-
- return;
+ RETURN(iBase_SUCCESS);;
}
void iGeom_getPntArrRayIntsct(iGeom_Instance, int storage_order,
@@ -1344,7 +1343,7 @@
else if (sense_reverse)
*sense_out = -1;
}
- return;
+ RETURN(iBase_SUCCESS);
}
void iGeom_getEgFcArrSense(iGeom_Instance,
@@ -1415,7 +1414,7 @@
free(verts1);
free(verts2);
- return;
+ RETURN(iBase_SUCCESS);
}
void iGeom_getEgVtxArrSense(iGeom_Instance,
iBase_EntityHandle const* edge_handles, int edge_handles_size,
More information about the moab-dev
mailing list