Uses of Class
toxi.physics2d.VerletParticle2D

Packages that use VerletParticle2D
toxi.physics2d   
toxi.physics2d.behaviors   
toxi.physics2d.constraints   
 

Uses of VerletParticle2D in toxi.physics2d
 

Fields in toxi.physics2d declared as VerletParticle2D
 VerletParticle2D VerletSpring2D.a
          Spring end points / particles
 VerletParticle2D VerletSpring2D.b
          Spring end points / particles
 

Fields in toxi.physics2d with type parameters of type VerletParticle2D
 java.util.ArrayList<VerletParticle2D> VerletPhysics2D.particles
          List of particles
 java.util.List<VerletParticle2D> ParticleString2D.particles
           
 

Methods in toxi.physics2d that return VerletParticle2D
 VerletParticle2D VerletParticle2D.addBehavior(ParticleBehavior2D behavior)
           
 VerletParticle2D VerletParticle2D.addBehavior(ParticleBehavior2D behavior, float timeStep)
           
 VerletParticle2D VerletParticle2D.addConstraint(ParticleConstraint2D c)
          Adds the given constraint implementation to the list of constraints applied to this particle at each time step.
 VerletParticle2D VerletParticle2D.addForce(toxi.geom.Vec2D f)
           
 VerletParticle2D VerletParticle2D.addVelocity(toxi.geom.Vec2D v)
           
 VerletParticle2D VerletParticle2D.clearForce()
           
 VerletParticle2D VerletParticle2D.clearVelocity()
           
 VerletParticle2D ParticleString2D.getHead()
          Returns the first particle of the string.
 VerletParticle2D ParticleString2D.getTail()
          Returns last particle of the string.
 VerletParticle2D VerletParticle2D.lock()
          Locks/immobilizes particle in space
 VerletParticle2D VerletParticle2D.removeAllBehaviors()
           
 VerletParticle2D VerletParticle2D.removeAllConstraints()
          Removes any currently applied constraints from this particle.
 VerletParticle2D VerletParticle2D.scaleVelocity(float scl)
           
 VerletParticle2D VerletParticle2D.setPreviousPosition(toxi.geom.Vec2D p)
           
 VerletParticle2D VerletParticle2D.unlock()
          Unlocks particle again
 

Methods in toxi.physics2d that return types with arguments of type VerletParticle2D
 java.util.List<VerletParticle2D> ParticlePath2D.createParticles(VerletPhysics2D physics, int subDiv, float step, float mass)
          Creates particles along the spline at the fixed interval given.
 

Methods in toxi.physics2d with parameters of type VerletParticle2D
 VerletPhysics2D VerletPhysics2D.addParticle(VerletParticle2D p)
          Adds a particle to the list
 boolean VerletPhysics2D.removeParticle(VerletParticle2D p)
          Removes a particle from the simulation.
 

Method parameters in toxi.physics2d with type arguments of type VerletParticle2D
static void VerletPhysics2D.addConstraintToAll(ParticleConstraint2D c, java.util.List<VerletParticle2D> list)
           
static void VerletPhysics2D.removeConstraintFromAll(ParticleConstraint2D c, java.util.List<VerletParticle2D> list)
           
 

Constructors in toxi.physics2d with parameters of type VerletParticle2D
VerletConstrainedSpring2D(VerletParticle2D a, VerletParticle2D b, float len, float str)
           
VerletConstrainedSpring2D(VerletParticle2D a, VerletParticle2D b, float len, float str, float limit)
           
VerletMinDistanceSpring2D(VerletParticle2D a, VerletParticle2D b, float len, float str)
           
VerletParticle2D(VerletParticle2D p)
          Creates a copy of the passed in particle
VerletSpring2D(VerletParticle2D a, VerletParticle2D b, float len, float str)
           
 

Constructor parameters in toxi.physics2d with type arguments of type VerletParticle2D
ParticleString2D(VerletPhysics2D physics, java.util.List<VerletParticle2D> plist, float strength)
          Takes a list of already created particles connects them into a continuous string using springs.
 

Uses of VerletParticle2D in toxi.physics2d.behaviors
 

Methods in toxi.physics2d.behaviors with parameters of type VerletParticle2D
 void ParticleBehavior2D.apply(VerletParticle2D p)
          Applies the constraint to the passed in particle.
 void ConstantForceBehavior.apply(VerletParticle2D p)
           
 void AttractionBehavior.apply(VerletParticle2D p)
           
 

Uses of VerletParticle2D in toxi.physics2d.constraints
 

Methods in toxi.physics2d.constraints with parameters of type VerletParticle2D
 void RectConstraint.apply(VerletParticle2D p)
           
 void ParticleConstraint2D.apply(VerletParticle2D p)
          Applies the constraint to the passed in particle.
 void MinConstraint.apply(VerletParticle2D p)
           
 void MaxConstraint.apply(VerletParticle2D p)
           
 void CircularConstraint.apply(VerletParticle2D p)
           
 void AxisConstraint.apply(VerletParticle2D p)
           
 void AngularConstraint.apply(VerletParticle2D p)