[MOAB-dev] question about OBB

Tim Tautges tautges at mcs.anl.gov
Mon May 2 10:55:47 CDT 2011


Will that work if the set you hand it isn't the top-most tree root?

- tim

On 05/02/2011 10:53 AM, Jason Kraftcheck wrote:
> On 05/02/2011 10:46 AM, Iulian Grindeanu wrote:
>> Hello, Actually, I would like to have more control over the OBB tree
>> creation/deletion or even update. When I am modifying geometry (or
>> meshes), instead of deleting the whole tree, and creating it again, I
>> would like to update "locally". Is that possible?
>>
>
> It is certainly possible.  MOAB has no code to do so, though.
>
>> So in the following scenario: I have a model with 200 surfaces. I would
>> like to split one surface in 2, generate one more surface (and at least
>> one edge) Can I modify the tree locally?
>>
>
> The tree is composed of entity sets and tag data on those sets.  You can
> modify them the same as anything else in MOAB.
>
>> It might be a too difficult job, and not worth the effort.
>>
>> There are methods to build a "tree" from a range of entities, and join
>> after that with an existing tree, but I do not see any method to "delete"
>> a tree (or a branch?)
>>
>> Or am I missing something?
>>
>
>
> OrientedBoxTreeTool::delete_tree( EntityHandle root );
>
> - 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 moab-dev mailing list