org.jbox2d.util.sph
Class Particle

java.lang.Object
  extended by org.jbox2d.util.sph.Particle
Direct Known Subclasses:
SmoothParticle

public class Particle
extends Object


Field Summary
protected  int deleted
           
 double mass
           
 Vec2 pos
           
 Vec2 vel
           
 
Constructor Summary
Particle()
           
Particle(Particle P)
           
Particle(Vec2 p, Vec2 v, double m)
           
 
Method Summary
 void deleteParticle()
           
 boolean isEmpty()
           
 void undeleteParticle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pos

public Vec2 pos

vel

public Vec2 vel

mass

public double mass

deleted

protected int deleted
Constructor Detail

Particle

public Particle()

Particle

public Particle(Vec2 p,
                Vec2 v,
                double m)

Particle

public Particle(Particle P)
Method Detail

deleteParticle

public void deleteParticle()

undeleteParticle

public void undeleteParticle()

isEmpty

public boolean isEmpty()