|
|||||||||
| 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(IParticleI p1,
IParticleI p2)
|
|
ITensionLine(IParticleI p1,
IParticleI p2,
double tension)
|
|
ITensionLine(IVecI p1,
IVecI p2)
|
|
ITensionLine(IVecI p1,
IVecI 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 |
pos(int i)
alias of pt(int) |
IParticleI |
pos1()
alias of pt1() |
IParticleI |
pos2()
alias of pt2() |
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. |
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(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 ITensionIpublic ITensionLine tension(double tensionIntensity)
tension in interface ITensionIpublic boolean constant()
ITensionI
constant in interface ITensionIpublic ITensionLine constant(boolean cnst)
constant in interface ITensionIpublic IParticleI pt(int i)
pt in interface ITensionIpublic IParticleI pos(int i)
pos in interface ITensionIpublic IParticleI pt1()
pt1 in interface ITensionIpublic IParticleI pos1()
pos1 in interface ITensionIpublic IParticleI pt2()
pt2 in interface ITensionIpublic IParticleI pos2()
pos2 in interface ITensionI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||