[cgma-dev] Facet/Cholla engine
Jane Hu
janejhu at gmail.com
Tue Jan 14 10:39:32 CST 2014
Hi, David
I double checked the prototype as well as the code (I don't have a program
suitable to debug), it seems that if your plist is not corresponding to the
tflist and qflist, you may leave it empty. The code should fill the point
list for you.
Unless the points are extra points which are not in the tflist nor in the
qflist.
Can you try it out and see if it works, I am now reading this part of code
to see if coincident points are recognized if you call separately.
Jane
On Mon, Jan 13, 2014 at 10:03 PM, David Thompson <david.thompson at kitware.com
> wrote:
> Hi all,
>
> I have a question about the facet engine in CGM. Are multiple faceted
> surfaces per body supported? I see crashes if I call
>
> DLIList <CubitPoint*> plist;
> DLIList<CubitFacet*> tflist;
> DLIList<CubitQuadFacet*> qflist;
> DLIList<Surface*> slist;
>
> FacetModifyEngine::instance()->build_facet_surface(
> qflist, tflist, plist, -1, 0, false, false, slist);
>
> where tflist and qflist do not use every point in plist (because another
> call to build_facet_surface() will use those points later).
>
> If I create a separate plist for each call to build_facet_surface(), it
> does not crash... but will coincident points be recognized as identical and
> merged -- or will the geometry need some kind of stitching?
>
> Thanks,
> David
--
Jane Hu
Asst. Researcher
Dept. of Engineering Physics
UW @ Madison
"And we know that for those who love God, that is, for those who are called
according to his purpose, all things are working together for good."
(Romans 8:28)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20140114/1de8196c/attachment.html>
More information about the cgma-dev
mailing list