|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectigeo.IObject
igeo.IGeometry
igeo.ICurve
igeo.ITensionLineOnCurve
public class ITensionLineOnCurve
Class of IDynamicObject to simulate tension force between two particles.
Field Summary | |
---|---|
ITensionOnCurve |
tension
|
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 | |
---|---|
ITensionLineOnCurve(IParticleOnCurve p1,
IParticleOnCurve p2)
|
|
ITensionLineOnCurve(IParticleOnCurve p1,
IParticleOnCurve p2,
double tension)
|
Method Summary | |
---|---|
boolean |
constant()
if constantTension is true, amount of force is always constant and it's equals to tension. |
ITensionLineOnCurve |
constant(boolean cnst)
|
void |
initTensionLine(IParticleOnCurve p1,
IParticleOnCurve p2)
|
IParticleI |
particle(int i)
alias of pt(int) |
IParticleI |
particle1()
alias of pt1() |
IParticleI |
particle2()
alias of pt2() |
IVec |
pos(int i)
position of particle(i) |
IVec |
pos1()
position of particle1 |
IVec |
pos2()
position of particle1 |
IParticleI |
pt(int i)
getting end point. |
IParticleI |
pt1()
getting end point1. |
IParticleI |
pt2()
getting end point2. |
double |
tension()
tension is a coefficient to convert distance of two points to amount of force. |
ITensionLineOnCurve |
tension(double tensionIntensity)
|
Methods inherited from class igeo.IObject |
---|
addDynamics, alpha, alphaInt, attr, blue, blueInt, clearDynamics, clearGraphics, clr, clr, del, deletDynamics, deleteDynamics, deleteDynamics, deleteGraphic, dynamicsNum, getColor, getDynamics, getGraphic, getGraphic, getParameter, graphicsNum, green, greenInt, initGraphic, initObject, isVisible, 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 ITensionOnCurve tension
Constructor Detail |
---|
public ITensionLineOnCurve(IParticleOnCurve p1, IParticleOnCurve p2)
public ITensionLineOnCurve(IParticleOnCurve p1, IParticleOnCurve p2, double tension)
Method Detail |
---|
public void initTensionLine(IParticleOnCurve p1, IParticleOnCurve p2)
public double tension()
ITensionI
tension
in interface ITensionI
public ITensionLineOnCurve tension(double tensionIntensity)
tension
in interface ITensionI
public boolean constant()
ITensionI
constant
in interface ITensionI
public ITensionLineOnCurve constant(boolean cnst)
constant
in interface ITensionI
public IParticleI pt(int i)
pt
in interface ITensionI
public IParticleI particle(int i)
particle
in interface ITensionI
public IVec pos(int i)
pos
in interface ITensionI
public IParticleI pt1()
pt1
in interface ITensionI
public IParticleI particle1()
particle1
in interface ITensionI
public IVec pos1()
pos1
in interface ITensionI
public IParticleI pt2()
pt2
in interface ITensionI
public IParticleI particle2()
particle2
in interface ITensionI
public IVec pos2()
pos2
in interface ITensionI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |