Module imp3d

Class GPP

All Implemented Interfaces:
Transformation, Pickable, Polygonizable, Renderable, Manageable, PersistenceCapable, Shareable, UserFields, XObject, Map, Serializable

public class GPP extends MeshNode implements Pickable, Polygonizable, Renderable
See Also:
  • Field Details

    • N

      protected int N
    • radius_top

      protected float radius_top
    • radius_base

      protected float radius_base
    • height

      protected float height
    • phi

      protected float phi
    • xShift

      protected float xShift
    • yShift

      protected float yShift
    • $TYPE

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

      public static final Node.NType.Field N$FIELD
    • radius_top$FIELD

      public static final Node.NType.Field radius_top$FIELD
    • radius_base$FIELD

      public static final Node.NType.Field radius_base$FIELD
    • height$FIELD

      public static final Node.NType.Field height$FIELD
    • phi$FIELD

      public static final Node.NType.Field phi$FIELD
    • xShift$FIELD

      public static final Node.NType.Field xShift$FIELD
    • yShift$FIELD

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

    • GPP

      public GPP()
    • GPP

      public GPP(int n)
    • GPP

      public GPP(int n, float radius_top, float radius_base, float height, float phi, float xShift, float yShift)
  • Method Details

    • 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 MeshNode
      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 MeshNode
      Returns:
      new instance of class of this node
    • getN

      public int getN()
    • setN

      public void setN(int value)
    • getRadius_top

      public float getRadius_top()
    • setRadius_top

      public void setRadius_top(float value)
    • getRadius_base

      public float getRadius_base()
    • setRadius_base

      public void setRadius_base(float value)
    • getHeight

      public float getHeight()
    • setHeight

      public void setHeight(float value)
    • getPhi

      public float getPhi()
    • setPhi

      public void setPhi(float value)
    • getXShift

      public float getXShift()
    • setXShift

      public void setXShift(float value)
    • getYShift

      public float getYShift()
    • setYShift

      public void setYShift(float value)
    • getSurfaceArea

      public double getSurfaceArea()
      Calculates the area of an object. Intersection with other object are not considered.The total area will be calculated.
      Overrides:
      getSurfaceArea in class MeshNode
      Returns:
      area
    • getVolume

      public double getVolume()
      Calculates the volume. Intersection with other object are not considered.The total volume will be calculated. V=tbd
      Overrides:
      getVolume in class MeshNode
      Returns:
      volume