igeo
Interface ISpringI

All Superinterfaces:
ITensionI
All Known Implementing Classes:
ISpring, ISpringLine

public interface ISpringI
extends ITensionI

Interface API of straightener (straightening force) classes

Author:
Satoru Sugihara

Field Summary
 
Fields inherited from interface igeo.ITensionI
defaultTension
 
Method Summary
 double len()
          get length
 ISpringI len(double length)
          set length
 ISpringI len(IVecI p1, IVecI p2)
          set length by two points
 double length()
          alias of len
 ISpringI length(double length)
          alias of len
 ISpringI length(IVecI p1, IVecI p2)
          alias of len
 
Methods inherited from interface igeo.ITensionI
constant, constant, maxTension, maxTension, particle, particle1, particle2, pos, pos1, pos2, pt, pt1, pt2, tension, tension
 

Method Detail

len

double len()
get length


len

ISpringI len(double length)
set length


len

ISpringI len(IVecI p1,
             IVecI p2)
set length by two points


length

double length()
alias of len


length

ISpringI length(double length)
alias of len


length

ISpringI length(IVecI p1,
                IVecI p2)
alias of len