On Wed, Aug 27, 2008 at 2:12 AM, Christopher Sean Morrison <[EMAIL PROTECTED]> wrote: > >> Yep, we've done that before. But is it correct to say the first >> region on a path is the "real" region? > > If it's the first "positive" region, yes. The region can't be part of a > subtraction and you can't just check his parent combination. You have to > check all the way up the hierarchy (until you encounter a subtraction) to > make sure it's not part of a subtraction. ... > I'd be careful that you're not getting lost in the forest, though. What is > it that you're actually trying to accomplish with the tree walk? What data > are you needing to get at? The region structure itself might not really be > what you should be using as it is intended to be an in-memory raytrace > structure (hence the trivial access via a hit() callback).
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. That's it. Thanks, Sean. -Tom ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
