Methods in edu.tum.cs.commons.visitor with parameters of type IVisitor |
static
<T,X1 extends java.lang.Exception,X2 extends java.lang.Exception>
void |
|
VisitorUtils.visitAllDepthFirst(T start,
IMeshWalker<T,X1> walker,
IVisitor<T,X2> visitor)
Visits all elements of a mesh in depth first order. |
static
<T,X1 extends java.lang.Exception,X2 extends java.lang.Exception>
void |
|
VisitorUtils.visitAllPreOrder(T root,
ITreeWalker<T,X1> walker,
IVisitor<T,X2> visitor)
Visits all nodes of a tree in pre-order, i.e. a node is visited directly
before its children. |
static
<T,X1 extends java.lang.Exception,X2 extends java.lang.Exception>
void |
|
VisitorUtils.visitLeaves(T root,
ITreeWalker<T,X1> walker,
IVisitor<T,X2> visitor)
Visits all leaves of a tree, i.e. those nodes without children. |