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

Jason Kraftcheck kraftche at cae.wisc.edu
Mon May 2 14:13:03 CDT 2011


On 05/02/2011 02:08 PM, Tim Tautges wrote:
> Maybe I need to be a bit more specific in my request that Jane implement
> functions in iGeom to get facet information. The function signature I'm
> looking for is:
> 
> iGeom_getFacets(iGeom_EntityHandle entity,
>                 double dist_tolerance,
>                 double **points, int *points_alloc, int *points_size,
>                 int **facets, int *facets_alloc, int *facets_size)
> 
> This should be a function that appears in iGeom.h, and is implemented in
> iGeom_CGMA.cc by calling functions in CGM.  I know the CGM RefFace
> function has more options, but I don't think we should expose those
> options in iGeom (or, at least, I don't know whether they're common
> enough across modeling engines, maybe you can investigate that too based
> on OCC).
> 

Should the function return the facet lists like Cubit does w/ its GMem
object, or just assume triangles?  I ask because I think that, despite the
more general representation allowed by GMem, Cubit/CGM really only does
triangles.

- jason



More information about the cgma-dev mailing list