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

Tim Tautges tautges at mcs.anl.gov
Mon May 2 14:17:21 CDT 2011


I think we should assume triangles, though I also think they should be returned in the double/int lists.

- tim

On 05/02/2011 02:13 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)
>>
>> 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
>
>

-- 
================================================================
"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