Class Index | File Index

Classes


Class pv.Constraint

Represents a constraint that acts on particles. Note that this interface does not specify how to bind a constraint to specific particles; in general, constraints are applied globally to all particles. However, some constraints may be applied to specific particles or between particles, such as position constraints, through additional specialization.
Defined in: Constraint.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 constraint to the specified particles.
Class Detail
pv.Constraint()
Abstract; see an implementing class.
See:
pv.Simulation
pv.Particle
pv.Constraint.bound
pv.Constraint.collision
pv.Constraint.position
Method Detail
{pv.Constraint} apply(particles, q)
Applies this constraint to the specified particles.
Parameters:
{pv.Particle} particles
particles to which to apply this constraint.
{pv.Quadtree} q
a quadtree for spatial acceleration.
Returns:
{pv.Constraint} this.

Documentation generated by JsDoc Toolkit 2.3.2 on Sun May 30 2010 18:10:23 GMT-0700 (PDT)