Helper class for splitting tri shell elements.
More...
#include <Mesh/ModelEdit/trisplitter.h>
◆ NodeVector
◆ TriSplitter()
- Parameters
-
model | New elements will be added to this model. |
◆ ~TriSplitter()
◆ split()
- Parameters
-
origElem | The element to be split. |
splitEdges | Vector of node pointers. Each entry is the node for the matching edge of the element. If the edge needs splitting, the pointer will hold a new node. If the edge does not need splitting, the pointer will be null. |
This function will add new elements that would replace origElem when its long edges are split, as determined by the contents of splitEdges. origElem will also be removed (as opposed to erased) if it is split. The attached shell element lists of all affected nodes are not updated by this call.