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

Tim Tautges tautges at mcs.anl.gov
Mon May 2 19:41:03 CDT 2011


I personally would prefer a single function, with the facets arguments ignored if an edge is input.  I suspect others 
may have other opinions, but I'd like to have a working version before we propose this to the ITAPS group.

And yes, there should be an iGeom instance as the first argument, I did forget that.

- tim

On 05/02/2011 02:15 PM, Jason Kraftcheck wrote:
> 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
>
>
>

-- 
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
          phone: (608) 263-8485      1500 Engineering Dr.
            fax: (608) 263-4499      Madison, WI 53706



More information about the cgma-dev mailing list