Class Index | File Index

Classes


Class pv.Force

Represents a force that acts on particles. Note that this interface does not specify how to bind a force to specific particles; in general, forces are applied globally to all particles. However, some forces may be applied to specific particles or between particles, such as spring forces, through additional specialization.
Defined in: Force.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Abstract; see an implementing class.
Method Summary
Method Attributes Method Name and Description
 
apply(particles, q)
Applies this force to the specified particles.
Class Detail
pv.Force()
Abstract; see an implementing class.
See:
pv.Simulation
pv.Particle
pv.Force.charge
pv.Force.drag
pv.Force.spring
Method Detail
apply(particles, q)
Applies this force to the specified particles.
Parameters:
{pv.Particle} particles
particles to which to apply this force.
{pv.Quadtree} q
a quadtree for spatial acceleration.

Documentation generated by JsDoc Toolkit 2.3.2 on Fri May 28 2010 10:13:28 GMT-0700 (PDT)