Sha256: de81701e49faf4cd54cb167a4935893c7c9ac10d79a77a4ffb4e7fbd5964c543

Contents?: true

Size: 773 Bytes

Versions: 23

Compression:

Stored size: 773 Bytes

Contents

/**
 * Abstract; see an implementing class.
 *
 * @class 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.
 *
 * @see pv.Simulation
 * @see pv.Particle
 * @see pv.Force.charge
 * @see pv.Force.drag
 * @see pv.Force.spring
 */
pv.Force = {};

/**
 * Applies this force to the specified particles.
 *
 * @function
 * @name pv.Force.prototype.apply
 * @param {pv.Particle} particles particles to which to apply this force.
 * @param {pv.Quadtree} q a quadtree for spatial acceleration.
 */

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
rubyvis-0.6.0 vendor/protovis/src/physics/Force.js
rubyvis-0.5.2 vendor/protovis/src/physics/Force.js
rubyvis-0.5.1 vendor/protovis/src/physics/Force.js
rubyvis-0.5.0 vendor/protovis/src/physics/Force.js
rubyvis-0.4.1 vendor/protovis/src/physics/Force.js
rubyvis-0.4.0 vendor/protovis/src/physics/Force.js
rubyvis-0.3.6 vendor/protovis/src/physics/Force.js
rubyvis-0.3.5 vendor/protovis/src/physics/Force.js
rubyvis-0.3.4 vendor/protovis/src/physics/Force.js
rubyvis-0.3.3 vendor/protovis/src/physics/Force.js
rubyvis-0.3.2 vendor/protovis/src/physics/Force.js
rubyvis-0.3.1 vendor/protovis/src/physics/Force.js
rubyvis-0.3.0 vendor/protovis/src/physics/Force.js
rubyvis-0.2.2 vendor/protovis/src/physics/Force.js
rubyvis-0.2.1 vendor/protovis/src/physics/Force.js
rubyvis-0.2.0 vendor/protovis/src/physics/Force.js
rubyvis-0.1.7 vendor/protovis/src/physics/Force.js
rubyvis-0.1.6 vendor/protovis/src/physics/Force.js
rubyvis-0.1.5 vendor/protovis/src/physics/Force.js
rubyvis-0.1.4 vendor/protovis/src/physics/Force.js