|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITensionI
Interface API of tension classes
Field Summary | |
---|---|
static double |
defaultTension
|
Method Summary | |
---|---|
boolean |
constant()
if constantTension is true, amount of force is always constant and it's equals to tension. |
ITensionI |
constant(boolean cnst)
|
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. |
ITensionI |
tension(double tension)
|
Field Detail |
---|
static final double defaultTension
Method Detail |
---|
double tension()
ITensionI tension(double tension)
boolean constant()
ITensionI constant(boolean cnst)
IParticleI pt(int i)
IParticleI particle(int i)
IVec pos(int i)
IParticleI pt1()
IParticleI particle1()
IVec pos1()
IParticleI pt2()
IParticleI particle2()
IVec pos2()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |