Class EnergySphere

java.lang.Object
mgui.geometry.mesh.EnergySphere

public class EnergySphere
extends java.lang.Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    class  EnergySphere.EnergyNode  
  • Field Summary

    Fields
    Modifier and Type Field Description
    org.jogamp.vecmath.Point3f center  
    Mesh3D mesh  
    java.util.ArrayList<EnergySphere.EnergyNode> nodes  
    float radius  
  • Constructor Summary

    Constructors
    Constructor Description
    EnergySphere​(Mesh3D mesh, NeighbourhoodMesh n_mesh, org.jogamp.vecmath.Point3f center, float radius)  
  • Method Summary

    Modifier and Type Method Description
    double getMaxEnergy()  
    void update​(float entropy)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • nodes

      public java.util.ArrayList<EnergySphere.EnergyNode> nodes
    • mesh

      public Mesh3D mesh
    • center

      public org.jogamp.vecmath.Point3f center
    • radius

      public float radius
  • Constructor Details

    • EnergySphere

      public EnergySphere​(Mesh3D mesh, NeighbourhoodMesh n_mesh, org.jogamp.vecmath.Point3f center, float radius)
  • Method Details

    • update

      public void update​(float entropy)
    • getMaxEnergy

      public double getMaxEnergy()