net.sourceforge.arbaro.tree
Interface StemTraversal
- All Known Implementing Classes:
- DefaultStemTraversal, MeshPartCreator
- public interface StemTraversal
An interface, for traversal of the segments and
subsegments of a stem. (Compare Hierarchical Visitor Pattern)
enterStem
public boolean enterStem(Stem stem)
throws TraversalException
- Throws:
TraversalException
leaveStem
public boolean leaveStem(Stem stem)
throws TraversalException
- Throws:
TraversalException
enterSegment
public boolean enterSegment(Segment segment)
throws TraversalException
- Throws:
TraversalException
leaveSegment
public boolean leaveSegment(Segment segment)
throws TraversalException
- Throws:
TraversalException
visitSubsegment
public boolean visitSubsegment(Subsegment subsegment)
throws TraversalException
- Throws:
TraversalException