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

Jason Kraftcheck kraftche at cae.wisc.edu
Mon May 2 14:15:48 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)
> 

That should probably be:

iGeom_getFacets(iGeom_Instance instance,  // <=====
                iGeom_EntityHandle entity,
                double dist_tolerance,
                double **points, int *points_alloc, int *points_size,
                int **facets, int *facets_alloc, int *facets_size)


Also, for curves, I assume that the 'facets' arguments are unused?  Or do
you prefer them to be populated with index pairs for edges?  Or is it
RefFaces only?

- jason




More information about the cgma-dev mailing list