igeo
Class IParticleDirectionLink
java.lang.Object
igeo.IDynamicsBase
igeo.IParticleDirectionLink
- All Implemented Interfaces:
- IDynamics, ISubobject
public class IParticleDirectionLink
- extends IDynamicsBase
Class of an implementation of IDynamics to limit particles to be spacified direction from a center.
- Author:
- Satoru Sugihara
Methods inherited from class igeo.IDynamicsBase |
initDynamicsBase, initDynamicsBase, initDynamicsBase, interact, localDynamics, parent, parent, postinteract, postupdate, preinteract, preupdate, removeTarget, removeTarget, target, target, targetNum, targets, updateTarget |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
particles
public java.util.ArrayList<IParticleGeo> particles
center
public IVecI center
vel
public IVec vel
IParticleDirectionLink
public IParticleDirectionLink(java.util.ArrayList<IParticleGeo> ptcls,
IVecI cntr,
IObject parent)
IParticleDirectionLink
public IParticleDirectionLink(IParticleGeo[] ptcls,
IVecI cntr,
IObject parent)
IParticleDirectionLink
public IParticleDirectionLink(IVecI cntr,
IObject parent)
IParticleDirectionLink
public IParticleDirectionLink(java.util.ArrayList<IParticleGeo> ptcls,
IVecI cntr)
IParticleDirectionLink
public IParticleDirectionLink(IParticleGeo[] ptcls,
IVecI cntr)
IParticleDirectionLink
public IParticleDirectionLink(IVecI cntr)
initParticleDirectionLink
public void initParticleDirectionLink()
add
public void add(IParticleGeo p)
update
public void update()
- Description copied from class:
IDynamicsBase
- behavior definition of updating dynamics in each time frame
- Specified by:
update
in interface IDynamics
- Overrides:
update
in class IDynamicsBase