Module lignum

Class TreeCompartment

java.lang.Object
de.grogra.graph.impl.Edge
de.grogra.graph.impl.Node
de.grogra.lignum.stlLignum.TreeCompartment
All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, UserFields, XObject, Map, Serializable
Direct Known Subclasses:
Axis, Tree, TreeSegment

public class TreeCompartment extends Node
Translated from orignal C++ Lignum code.
Author:
Alexander Brinkmann
See Also:
  • Field Details

    • point

      protected Point3d point
    • direction

      protected PositionVector direction
    • LGAage

      protected double LGAage
      Age of an object
    • tree

      protected Tree tree
    • LGAAs

      protected double LGAAs
      Sapwood area
    • $TYPE

      public static final Node.NType $TYPE
    • point$FIELD

      public static final Node.NType.Field point$FIELD
    • direction$FIELD

      public static final Node.NType.Field direction$FIELD
    • LGAage$FIELD

      public static final Node.NType.Field LGAage$FIELD
    • LGAAs$FIELD

      public static final Node.NType.Field LGAAs$FIELD
  • Constructor Details

    • TreeCompartment

      public TreeCompartment()
    • TreeCompartment

      public TreeCompartment(Tree tree)
  • Method Details

    • getTree

      public Tree getTree()
    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class Node
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class Node
      Returns:
      new instance of class of this node
    • getLGAage

      public double getLGAage()
    • setLGAage

      public void setLGAage(double value)
    • getLGAAs

      public double getLGAAs()
    • setLGAAs

      public void setLGAAs(double value)
    • getPoint

      public Point3d getPoint()
    • setPoint

      public void setPoint(Point3d value)
    • getDirection

      public PositionVector getDirection()
    • setDirection

      public void setDirection(PositionVector value)