|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.miv.pherd.Particle
org.graphstream.boids.forces.ntree.BoidParticle
public class BoidParticle
Internal representation of the boid position, and direction in the forces system.
| Constructor Summary | |
|---|---|
BoidParticle(BoidGraph ctx,
Boid b)
New particle. |
|
| Method Summary | |
|---|---|
Boid |
getBoid()
|
org.miv.pherd.geom.Point3 |
getNextPosition()
|
void |
inserted()
|
void |
move(int time)
|
void |
removed()
|
void |
setPosition(double x,
double y,
double z)
|
| Methods inherited from class org.miv.pherd.Particle |
|---|
closeTo, closeTo, getAttribute, getAttributeKeyIterator, getCell, getId, getPosition, getWeight, nextStep, removeAttribute, setAttribute, setCell, setWeight, suicide |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoidParticle(BoidGraph ctx,
Boid b)
ctx - The set of global parameters.| Method Detail |
|---|
public void move(int time)
move in class org.miv.pherd.Particlepublic void inserted()
inserted in class org.miv.pherd.Particlepublic void removed()
removed in class org.miv.pherd.Particlepublic Boid getBoid()
public void setPosition(double x,
double y,
double z)
public org.miv.pherd.geom.Point3 getNextPosition()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||