igeo
Class IAttractorGeo

java.lang.Object
  extended by igeo.IFieldGeo
      extended by igeo.IPointFieldGeo
          extended by 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
constantIntensity, decay, intensity, threshold
 
Constructor Summary
IAttractorGeo(IVecI p)
           
 
Method Summary
 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 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 get(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
dir, get, 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

get

public IVecI get(IVecI v,
                 IVecI orig)
Description copied from class: IPointFieldGeo
get original field value out of curve parameter u

Overrides:
get 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

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

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