Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sourceforge.arbaro.tree
Class MeshCreator

    java.lang.Object
      net.sourceforge.arbaro.tree.MeshCreator

All Implemented Interfaces:
  TreeTraversal

public class MeshCreator
extends java.lang.Object
implements TreeTraversal

Create a mesh from the tree's stems using then TreeTraversal interface

Author:
  wolfram

Constructor Summary
`MeshCreator(Mesh mesh, int level, boolean useQuads, Progress progress)`

Method Summary
`boolean` | `enterSegment(Segment segment)`
`boolean` | `enterStem(Stem stem)`
`boolean` | `enterTree(Tree tree)`
`boolean` | `leaveStem(Stem stem)`
`boolean` | `leaveTree(Tree tree)`
`boolean` | `visitLeaf(Leaf leaf)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MeshCreator

    public MeshCreator(Mesh mesh,
                       int level,
                       boolean useQuads,
                       Progress progress)

Method Detail

### enterSegment

    public boolean enterSegment(Segment segment)

### enterStem

    public boolean enterStem(Stem stem)
                      throws TraversalException

  Specified by:
    `enterStem` in interface `TreeTraversal`
  Throws:
    `TraversalException`

### enterTree

    public boolean enterTree(Tree tree)

  Specified by:
    `enterTree` in interface `TreeTraversal`

### leaveStem

    public boolean leaveStem(Stem stem)

  Specified by:
    `leaveStem` in interface `TreeTraversal`

### leaveTree

    public boolean leaveTree(Tree tree)

  Specified by:
    `leaveTree` in interface `TreeTraversal`

### visitLeaf

    public boolean visitLeaf(Leaf leaf)

  Specified by:
    `visitLeaf` in interface `TreeTraversal`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD