Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## igeo
Interface ITensionI

All Known Implementing Classes:
  ISpacingEqualizer, IStraightener, ITension, ITensionLine, ITensionLineOnCurve, ITensionOnCurve

    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` | `pt(int i)` getting end point.
`double` | `tension()` tension is a coefficient to convert distance of two points to amount of force.
`ITensionI` | `tension(double tension)`

Field Detail

### defaultTension

    static final double defaultTension

See Also:
  Constant Field Values

Method Detail

### tension

    double tension()

  tension is a coefficient to convert distance of two points to amount of force.

### tension

    ITensionI tension(double tension)

### constant

    boolean constant()

  if constantTension is true, amount of force is always constant and it's equals to tension. Only direction of force changes. But if the distance is zero, force is also zero.

### constant

    ITensionI constant(boolean cnst)

### pt

    IParticleI pt(int i)

  getting end point. i==0 or i==1

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD