public interface IFieldI
Modifier and Type | Method and Description |
---|---|
IFieldI |
bidirectional(boolean b)
if bidirectional is on, field force vector is flipped when velocity of particle is going opposite
|
IFieldI |
constantIntensity(boolean b)
if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used
|
IFieldI |
decay(IDecay decay,
double threshold)
set custom decay
|
void |
del() |
IFieldI |
gauss(double threshold)
alias of gaussianDecay
|
IFieldI |
gaussian(double threshold)
alias of gaussianDecay
|
IFieldI |
gaussianDecay(double threshold)
set Gaussian decay with threshold; Threshold is used as double of standard deviation (when distance is eqaul to threshold, output is 13.5% of original).
|
IVal |
get(IVecI pos)
get field value at 3D location
|
IVal |
get(IVecI pos,
IVecI vel)
get field value at 3D location with velocity
|
double |
intensity()
get output intensity
|
IFieldI |
intensity(double i)
set output intensity
|
IFieldI |
linear(double threshold)
alias of linearDecay
|
IFieldI |
linearDecay(double threshold)
set linear decay with threshold; When distance is equal to threshold, output is zero.
|
IFieldI |
noDecay()
set no decay
|
double |
threshold()
get decay threshold
|
IFieldI |
threshold(double t)
set decay threshold
|
IFieldI noDecay()
IFieldI linearDecay(double threshold)
IFieldI linear(double threshold)
IFieldI gaussianDecay(double threshold)
IFieldI gaussian(double threshold)
IFieldI gauss(double threshold)
IFieldI constantIntensity(boolean b)
IFieldI bidirectional(boolean b)
IFieldI threshold(double t)
double threshold()
IFieldI intensity(double i)
double intensity()
void del()