|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BoidForcesFactory
Object used to create and compute forces of boids.
| Method Summary | |
|---|---|
BoidForces |
createNewForces(Boid b)
Create a new forces object for a boid. |
void |
end()
Terminate all operations. |
void |
init()
Called by BoidGraph when forces factory is
set. |
void |
resize(org.miv.pherd.geom.Point3 low,
org.miv.pherd.geom.Point3 high)
Resize the space. |
void |
step()
Compute forces for all boids. |
| Method Detail |
|---|
void init()
BoidGraph when forces factory is
set. It allows the forces factory to execute some code before it starts.
BoidForces createNewForces(Boid b)
b - the boid
void step()
void resize(org.miv.pherd.geom.Point3 low,
org.miv.pherd.geom.Point3 high)
low - the new lowest point.high - the new highest point.void end()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||