Class Index | File Index

Classes


Class pv.Particle

A weighted particle that can participate in a force simulation.
Defined in: Particle.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Abstract; not implemented.
Field Summary
Field Attributes Field Name and Description
 
fx
The x-force on the particle.
 
fy
The y-force on the particle.
 
The next particle in the simulation.
 
px
The x-position of the particle at -dt.
 
py
The y-position of the particle at -dt.
 
vx
The x-velocity of the particle.
 
vy
The y-velocity of the particle.
 
x
The x-position of the particle.
 
y
The y-position of the particle.
Class Detail
pv.Particle()
Abstract; not implemented. There is no explicit constructor; this class merely serves to document the attributes that are used on particles in physics simulations.
Field Detail
{number} fx
The x-force on the particle.

{number} fy
The y-force on the particle.

{pv.Particle} next
The next particle in the simulation. Particles form a singly-linked list.

{number} px
The x-position of the particle at -dt.

{number} py
The y-position of the particle at -dt.

{number} vx
The x-velocity of the particle.

{number} vy
The y-velocity of the particle.

{number} x
The x-position of the particle.

{number} y
The y-position of the particle.

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