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

## igeo
Class IAttractorGeo

    java.lang.Object
      igeo.IFieldGeo
          igeo.IPointFieldGeo
              igeo.IAttractorGeo

All Implemented Interfaces:
  I3DFieldI, IFieldI

    public class IAttractorGeo

extends IPointFieldGeo

Attractor field defined by a center point.

Author:
  Satoru Sugihara

Nested Class Summary

Nested classes/interfaces inherited from class igeo.IFieldGeo
`IFieldGeo.Decay`

Field Summary

Fields inherited from class igeo.IPointFieldGeo
`dir, pos`

Fields inherited from class igeo.IFieldGeo
`bidirectional, constantIntensity, decay, intensity, threshold`

Constructor Summary
`IAttractorGeo(IVecI p)`

Method Summary
`IAttractorGeo` | `bidirectional(boolean b)` if bidirectional is on, field force vector is flipped when velocity of particle is going opposite
`IAttractorGeo` | `constantIntensity(boolean b)` if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used
`IAttractorGeo` | `gauss(double threshold)` alias of gaussianDecay
`IAttractorGeo` | `gaussian(double threshold)` alias of gaussianDecay
`IAttractorGeo` | `gaussianDecay(double threshold)` set Gaussian decay; Threshold is used as double of standard deviation (when distance is eqaul to threshold, output is 13.5% of original).
`IVecI` | `getForce(IVecI v, IVecI orig)` get original field value out of curve parameter u
`IAttractorGeo` | `intensity(double i)` set output intensity
`IAttractorGeo` | `linear(double threshold)` alias of linearDecay
`IAttractorGeo` | `linearDecay(double threshold)` set linear decay; When distance is equal to threshold, output is zero.
`IAttractorGeo` | `noDecay()` set no decay
`IAttractorGeo` | `threshold(double t)` set decay threshold

Methods inherited from class igeo.IPointFieldGeo
`del, dir, get, get, getForce, pos`

Methods inherited from class igeo.IFieldGeo
`decay, intensity, threshold`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface igeo.IFieldI
`intensity, threshold`

Constructor Detail

### IAttractorGeo

    public IAttractorGeo(IVecI p)

Method Detail

### getForce

    public IVecI getForce(IVecI v,
                          IVecI orig)

  Description copied from class: `IPointFieldGeo`
  get original field value out of curve parameter u

  Overrides:
    `getForce` in class `IPointFieldGeo`

### noDecay

    public IAttractorGeo noDecay()

  Description copied from class: `IPointFieldGeo`
  set no decay

  Specified by:
    `noDecay` in interface `IFieldI`
  Overrides:
    `noDecay` in class `IPointFieldGeo`

### linearDecay

    public IAttractorGeo linearDecay(double threshold)

  Description copied from class: `IPointFieldGeo`
  set linear decay; When distance is equal to threshold, output is zero.

  Specified by:
    `linearDecay` in interface `IFieldI`
  Overrides:
    `linearDecay` in class `IPointFieldGeo`

### linear

    public IAttractorGeo linear(double threshold)

  Description copied from class: `IFieldGeo`
  alias of linearDecay

  Specified by:
    `linear` in interface `IFieldI`
  Overrides:
    `linear` in class `IPointFieldGeo`

### gaussianDecay

    public IAttractorGeo gaussianDecay(double threshold)

  Description copied from class: `IPointFieldGeo`
  set Gaussian decay; Threshold is used as double of standard deviation (when distance is eqaul to threshold, output is 13.5% of original).

  Specified by:
    `gaussianDecay` in interface `IFieldI`
  Overrides:
    `gaussianDecay` in class `IPointFieldGeo`

### gaussian

    public IAttractorGeo gaussian(double threshold)

  Description copied from class: `IFieldGeo`
  alias of gaussianDecay

  Specified by:
    `gaussian` in interface `IFieldI`
  Overrides:
    `gaussian` in class `IPointFieldGeo`

### gauss

    public IAttractorGeo gauss(double threshold)

  Description copied from class: `IFieldGeo`
  alias of gaussianDecay

  Specified by:
    `gauss` in interface `IFieldI`
  Overrides:
    `gauss` in class `IPointFieldGeo`

### constantIntensity

    public IAttractorGeo constantIntensity(boolean b)

  Description copied from class: `IFieldGeo`
  if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used

  Specified by:
    `constantIntensity` in interface `IFieldI`
  Overrides:
    `constantIntensity` in class `IFieldGeo`

### bidirectional

    public IAttractorGeo bidirectional(boolean b)

  if bidirectional is on, field force vector is flipped when velocity of particle is going opposite

  Specified by:
    `bidirectional` in interface `IFieldI`
  Overrides:
    `bidirectional` in class `IFieldGeo`

### threshold

    public IAttractorGeo threshold(double t)

  Description copied from class: `IFieldGeo`
  set decay threshold

  Specified by:
    `threshold` in interface `IFieldI`
  Overrides:
    `threshold` in class `IPointFieldGeo`

### intensity

    public IAttractorGeo intensity(double i)

  Description copied from class: `IFieldGeo`
  set output intensity

  Specified by:
    `intensity` in interface `IFieldI`
  Overrides:
    `intensity` in class `IPointFieldGeo`

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