|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectigeo.IObject
igeo.ICurve
igeo.ITensionLine
public class ITensionLine
Class of IDynamicObject to simulate tension force between two particles.
Field Summary | |
---|---|
ITension |
tensionDynamics
|
Fields inherited from class igeo.ICurve |
---|
curve |
Fields inherited from class igeo.IObject |
---|
attribute, dynamics, graphics, parameter, server |
Fields inherited from interface igeo.ITensionI |
---|
defaultTension |
Constructor Summary | |
---|---|
ITensionLine(IParticleAgent p1,
IParticleAgent p2)
|
|
ITensionLine(IParticleAgent p1,
IParticleAgent p2,
double tension)
|
|
ITensionLine(IParticleI p1,
IParticleI p2)
|
|
ITensionLine(IParticleI p1,
IParticleI p2,
double tension)
|
|
ITensionLine(IParticle p1,
IParticle p2)
|
|
ITensionLine(IParticle p1,
IParticle p2,
double tension)
|
|
ITensionLine(IVecI p1,
IVecI p2)
|
|
ITensionLine(IVecI p1,
IVecI p2,
double tension)
|
|
ITensionLine(IVec p1,
IVec p2)
|
|
ITensionLine(IVec p1,
IVec p2,
double tension)
|
Method Summary | |
---|---|
boolean |
constant()
if constantTension is true, amount of force is always constant and it's equals to tension. |
ITensionLine |
constant(boolean cnst)
|
void |
initTensionLine(IParticleI p1,
IParticleI p2)
|
void |
initTensionLine(IParticleI p1,
IParticleI p2,
double tension)
|
IParticleI |
pt(int i)
getting end point. |
double |
tension()
tension is a coefficient to convert distance of two points to amount of force. |
ITensionLine |
tension(double tensionIntensity)
|
Methods inherited from class igeo.IObject |
---|
addDynamics, alpha, alphaInt, attr, attr, blue, blueInt, clearDynamics, clearGraphics, clr, del, deletDynamics, deleteDynamics, deleteDynamics, deleteGraphic, dynamicsNum, getColor, getDynamics, getGraphic, getGraphic, getParameter, graphicsNum, green, greenInt, initGraphic, initObject, isVisible, layer, layer, name, red, redInt, resetGraphic, server, setParameter, syncColor, updateGraphic, visible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public ITension tensionDynamics
Constructor Detail |
---|
public ITensionLine(IParticleI p1, IParticleI p2)
public ITensionLine(IParticleI p1, IParticleI p2, double tension)
public ITensionLine(IParticle p1, IParticle p2)
public ITensionLine(IParticle p1, IParticle p2, double tension)
public ITensionLine(IParticleAgent p1, IParticleAgent p2)
public ITensionLine(IParticleAgent p1, IParticleAgent p2, double tension)
public ITensionLine(IVec p1, IVec p2)
public ITensionLine(IVec p1, IVec p2, double tension)
public ITensionLine(IVecI p1, IVecI p2)
public ITensionLine(IVecI p1, IVecI p2, double tension)
Method Detail |
---|
public void initTensionLine(IParticleI p1, IParticleI p2)
public void initTensionLine(IParticleI p1, IParticleI p2, double tension)
public double tension()
ITensionI
tension
in interface ITensionI
public ITensionLine tension(double tensionIntensity)
tension
in interface ITensionI
public boolean constant()
ITensionI
constant
in interface ITensionI
public ITensionLine constant(boolean cnst)
constant
in interface ITensionI
public IParticleI pt(int i)
ITensionI
pt
in interface ITensionI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |