[cgma-dev] r3563 - cgm/trunk/itaps

James Porter jvporter at wisc.edu
Wed Mar 3 18:27:20 CST 2010


On Wed, 2010-03-03 at 17:31 -0600, kraftche at cae.wisc.edu wrote:
>  static int iGeom_get_nonmanifold_sense( const BasicTopologyEntity* child,
>                                          const BasicTopologyEntity* parent,
> @@ -3162,8 +3162,8 @@
>  {
>    RefEntity** ptr = (RefEntity**)entity_handle;
>    const CubitVector pt(x,y,z);
> -  CubitStatus s = iGeom_get_point_containment( pt, *ptr );
> -  RETURN( (s == CUBIT_SUCCESS ? iBase_SUCCESS : iBase_FAILURE) );
> +  *ptr = iGeom_get_point_containment( pt );
> +  RETURN( iBase_SUCCESS );
>  }

Should this return an error if *ptr is NULL? It seems like it should.

- Jim



More information about the cgma-dev mailing list