Re: [brlcad-devel] [brlcad-users] Casting RT Structs
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Browder J. T. M <Tom.Browder@ManTech.com> - 2008-08-27 13:22:09
|
>-----Original Message----- >From: brl...@li... >[mailto:brl...@li...] On Behalf >Of Daniel Roßberg >Sent: Wednesday, August 27, 2008 07:16 >To: Tom Browder >Cc: brlcad developers; brl...@li... >Subject: Re: [brlcad-devel] [brlcad-users] Casting RT Structs > >2008/8/27 Tom Browder <tom...@gm...>: >> Well, what I really want during this walk is to enter at a tree top >> (say 'all') and list every positive region under it (no dups). For >> each region i want all its attributes. > >As a starting point you may look at the rt^3 repository at > >http://brlcad.svn.sourceforge.net/viewvc/brlcad/rt^3/trunk/incl >ude/brlcad >and > >http://brlcad.svn.sourceforge.net/viewvc/brlcad/rt^3/trunk/src/ >coreInterface > >With the code you find there you can walk down the tree and >ask every object if it is a region. Don't hesitate to ask if >you have problems with this code. Thanks, Daniel, I'll check it out! -Tom |