Module lignum

Class TreeSegment

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, UserFields, XObject, Map, Serializable
Direct Known Subclasses:
CfTreeSegment

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

    • LGAAs0

      protected double LGAAs0
      Original sapwood area
    • LGAL

      protected double LGAL
      Length of the tree segment (m)
    • LGAM

      protected double LGAM
      Rate of respiration (= amount of r. of the tree segment during the time step) (kgC dry weight)
    • LGAomega

      protected double LGAomega
      Gravelius order
    • LGAR

      protected double LGAR
      Radius of segment including bark (m)
    • LGARTop

      protected double LGARTop
      Radius of segment at top (m)
    • LGARh

      protected double LGARh
      Heartwood radius (m)
    • LGAWs

      protected double LGAWs
      Sapwood mass of the tree segment (kgC dry weight)
    • LGAWh

      protected double LGAWh
      Heartwood mass of the segment (kgC dry weight)
    • annual_rings

      protected Vector<Double> annual_rings
      Annual rings of the tree segment (m)
    • LGAvi

      protected double LGAvi
      Vigour index
    • LGAtype

      protected double LGAtype
      General type specifier, e.g. dominant, nondominant
    • $TYPE

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

      public static final Node.NType.Field LGAAs0$FIELD
    • LGAL$FIELD

      public static final Node.NType.Field LGAL$FIELD
    • LGAM$FIELD

      public static final Node.NType.Field LGAM$FIELD
    • LGAomega$FIELD

      public static final Node.NType.Field LGAomega$FIELD
    • LGAR$FIELD

      public static final Node.NType.Field LGAR$FIELD
    • LGARTop$FIELD

      public static final Node.NType.Field LGARTop$FIELD
    • LGARh$FIELD

      public static final Node.NType.Field LGARh$FIELD
    • LGAWs$FIELD

      public static final Node.NType.Field LGAWs$FIELD
    • LGAWh$FIELD

      public static final Node.NType.Field LGAWh$FIELD
    • LGAvi$FIELD

      public static final Node.NType.Field LGAvi$FIELD
    • LGAtype$FIELD

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

    • TreeSegment

      public TreeSegment()
    • TreeSegment

      public TreeSegment(Tree tree, double LGAomega, double LGAL)
  • Method Details

    • getMidPoint

      public Point3d getMidPoint()
    • getEndPoint

      public Point3d getEndPoint()
    • getLGAA

      public double getLGAA()
    • getLGAAh

      public double getLGAAh()
    • getLGAAs

      public double getLGAAs()
      Overrides:
      getLGAAs in class TreeCompartment
    • getLGAage

      public double getLGAage()
      Overrides:
      getLGAage in class TreeCompartment
    • getLGAH

      public double getLGAH()
    • getLGAV

      public double getLGAV()
    • getLGAVfrustum

      public double getLGAVfrustum()
    • getLGAVh

      public double getLGAVh()
    • getLGAVs

      public double getLGAVs()
    • getLGAWs

      public double getLGAWs()
    • getLGAWh

      public double getLGAWh()
    • getLGAWood

      public double getLGAWood()
    • setLGAage

      public void setLGAage(double value)
      Overrides:
      setLGAage in class TreeCompartment
    • setLGAdR

      public void setLGAdR(double value)
    • 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 TreeCompartment
      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 TreeCompartment
      Returns:
      new instance of class of this node
    • getLGAAs0

      public double getLGAAs0()
    • setLGAAs0

      public void setLGAAs0(double value)
    • getLGAL

      public double getLGAL()
    • setLGAL

      public void setLGAL(double value)
    • getLGAM

      public double getLGAM()
    • setLGAM

      public void setLGAM(double value)
    • getLGAomega

      public double getLGAomega()
    • setLGAomega

      public void setLGAomega(double value)
    • getLGAR

      public double getLGAR()
    • setLGAR

      public void setLGAR(double value)
    • getLGARTop

      public double getLGARTop()
    • setLGARTop

      public void setLGARTop(double value)
    • getLGARh

      public double getLGARh()
    • setLGARh

      public void setLGARh(double value)
    • setLGAWs

      public void setLGAWs(double value)
    • setLGAWh

      public void setLGAWh(double value)
    • getLGAvi

      public double getLGAvi()
    • setLGAvi

      public void setLGAvi(double value)
    • getLGAtype

      public double getLGAtype()
    • setLGAtype

      public void setLGAtype(double value)