Sha256: 879a66e13df4c5a9fd9749dcdb815fe8bd43c910ec68d4978d69dc7445517899

Contents?: true

Size: 875 Bytes

Versions: 23

Compression:

Stored size: 875 Bytes

Contents

/**
 * Abstract; see an implementing class.
 *
 * @class 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.
 *
 * @see pv.Simulation
 * @see pv.Particle
 * @see pv.Constraint.bound
 * @see pv.Constraint.collision
 * @see pv.Constraint.position
 */
pv.Constraint = {};

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

Version data entries

23 entries across 23 versions & 1 rubygems

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