igeo
Class IFieldGeo

java.lang.Object
  extended by igeo.IFieldGeo
All Implemented Interfaces:
IFieldI
Direct Known Subclasses:
I2DCurveFieldGeo, I2DSurfaceFieldGeo, ICurveFieldGeo, IPointFieldGeo, ISurfaceFieldGeo

public abstract class IFieldGeo
extends java.lang.Object
implements IFieldI

abstract class of 2D vector filed.

Author:
Satoru Sugihara

Nested Class Summary
static class IFieldGeo.Decay
          type of decay from surface position
 
Field Summary
 boolean constantIntensity
          if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used
 IFieldGeo.Decay decay
           
 double intensity
          intensity of vector output
 double threshold
          threshold for decay.
 
Constructor Summary
IFieldGeo()
           
 
Method Summary
 IFieldGeo constantIntensity(boolean b)
          if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used
 IFieldGeo.Decay decay()
           
 IFieldGeo gaussian(double threshold)
          alias of gaussianDecay
 IFieldGeo 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).
 double intensity()
          get output intensity
 IFieldGeo intensity(double i)
          set output intensity
 IFieldGeo linear(double threshold)
          alias of linearDecay
 IFieldGeo linearDecay(double threshold)
          set linear decay; When distance is equal to threshold, output is zero.
 IFieldGeo noDecay()
          set no decay
 double threshold()
          get decay threshold
 IFieldGeo threshold(double t)
          set decay 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
get
 

Field Detail

decay

public IFieldGeo.Decay decay

threshold

public double threshold
threshold for decay. When decay is None, threshold isn't used. In case of Linear, when distance is equal to threshold, output is zero. In Gaussian, threshold is used as double of standard deviation (when distance is eqaul to threshold, output is 13.5% of original).


intensity

public double intensity
intensity of vector output


constantIntensity

public boolean constantIntensity
if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used

Constructor Detail

IFieldGeo

public IFieldGeo()
Method Detail

noDecay

public IFieldGeo noDecay()
set no decay

Specified by:
noDecay in interface IFieldI

linearDecay

public IFieldGeo linearDecay(double threshold)
set linear decay; When distance is equal to threshold, output is zero.

Specified by:
linearDecay in interface IFieldI

linear

public IFieldGeo linear(double threshold)
alias of linearDecay

Specified by:
linear in interface IFieldI

gaussianDecay

public IFieldGeo 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).

Specified by:
gaussianDecay in interface IFieldI

gaussian

public IFieldGeo gaussian(double threshold)
alias of gaussianDecay

Specified by:
gaussian in interface IFieldI

decay

public IFieldGeo.Decay decay()

constantIntensity

public IFieldGeo constantIntensity(boolean b)
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

threshold

public IFieldGeo threshold(double t)
set decay threshold

Specified by:
threshold in interface IFieldI

threshold

public double threshold()
Description copied from interface: IFieldI
get decay threshold

Specified by:
threshold in interface IFieldI

intensity

public IFieldGeo intensity(double i)
set output intensity

Specified by:
intensity in interface IFieldI

intensity

public double intensity()
Description copied from interface: IFieldI
get output intensity

Specified by:
intensity in interface IFieldI