public interface ITensionI
Modifier and Type  Field and Description 

static double 
defaultTension 
Modifier and Type  Method and Description 

boolean 
constant()
if constantTension is true, amount of force is always constant and it's equals to tension.

ITensionI 
constant(boolean cnst)
if constantTension is true, amount of force is always constant and it's equals to tension.

double 
maxTension()
if maxTension is set to be positive number, it limits the force (distance * tension) is cut off at maxTension if constant is set, maxTension is ignored.

ITensionI 
maxTension(double maxTension)
if maxTension is set to be positive number, it limits the force (distance * tension) is cut off at maxTension if constant is set, maxTension is ignored.

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)
tension is a coefficient to convert distance of two points to amount of force.

static final double defaultTension
double tension()
ITensionI tension(double tension)
boolean constant()
ITensionI constant(boolean cnst)
double maxTension()
ITensionI maxTension(double maxTension)
IParticleI pt(int i)
IParticleI particle(int i)
IVec pos(int i)
IParticleI pt1()
IParticleI particle1()
IVec pos1()
IParticleI pt2()
IParticleI particle2()
IVec pos2()