[MOAB-dev] question about OBB
Jason Kraftcheck
kraftche at cae.wisc.edu
Mon May 2 10:53:31 CDT 2011
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
More information about the moab-dev
mailing list