net.sourceforge.arbaro.tree
Class Subsegment

java.lang.Object
  extended bynet.sourceforge.arbaro.tree.Subsegment

public class Subsegment
extends java.lang.Object

Segments with helical curving or nonlinearly changing radius can be broken into subsegments. Normal segments consist of only one subsegment.

Author:
Wolfram Diestel

Field Summary
 double height
           
 Vector pos
           
 double rad
           
 
Constructor Summary
Subsegment(Vector p, double r, double h)
           
 
Method Summary
 boolean traverseStem(StemTraversal traversal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pos

public Vector pos

height

public double height

rad

public double rad
Constructor Detail

Subsegment

public Subsegment(Vector p,
                  double r,
                  double h)
Method Detail

traverseStem

public boolean traverseStem(StemTraversal traversal)
                     throws TraversalException
Throws:
TraversalException