Class Body

java.lang.Object
com.aparapi.examples.oopnbody.Body

public final class Body
extends Object
  • Field Details

  • Constructor Details

    • Body

      public Body​(float x, float y, float z, float _m, boolean isHeavy)
  • Method Details

    • isHeavy

      public boolean isHeavy()
    • getX

      public float getX()
    • getY

      public float getY()
    • getZ

      public float getZ()
    • getRadius

      public float getRadius()
    • getTheta

      public float getTheta()
    • getPhi

      public float getPhi()
    • getVx

      public float getVx()
    • getVy

      public float getVy()
    • getVz

      public float getVz()
    • getM

      public float getM()
    • setM

      public void setM​(float _m)
    • setX

      public void setX​(float _x)
    • setY

      public void setY​(float _y)
    • setZ

      public void setZ​(float _z)
    • setRadius

      public void setRadius​(float radius)
    • setTheta

      public void setTheta​(float theta)
    • setPhi

      public void setPhi​(float phi)
    • setVx

      public void setVx​(float _vx)
    • setVy

      public void setVy​(float _vy)
    • setVz

      public void setVz​(float _vz)