public abstract class IFieldGeo extends java.lang.Object implements IFieldI
Modifier and Type | Class and Description |
---|---|
static class |
IFieldGeo.Decay
type of decay from surface position
|
Modifier and Type | Field and Description |
---|---|
boolean |
bidirectional
if bidirectional is on, field force vector is flipped when velocity of particle is going opposite
|
boolean |
constantIntensity
if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used
|
IDecay |
customDecay |
IFieldGeo.Decay |
decay |
static IGaussDecay |
gaussDecay |
double |
intensity
intensity of vector output
|
static ILinearDecay |
linearDecay |
static INoDecay |
noDecay |
double |
threshold
threshold for decay.
|
Constructor and Description |
---|
IFieldGeo() |
Modifier and Type | Method and Description |
---|---|
IFieldGeo |
bidirectional(boolean b)
if bidirectional is on, field force vector is flipped when velocity of particle is going opposite
|
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 |
decay(IDecay d,
double threshold)
set custom decay
|
IFieldGeo |
gauss(double threshold)
alias of gaussianDecay
|
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
|
public static INoDecay noDecay
public static ILinearDecay linearDecay
public static IGaussDecay gaussDecay
public IFieldGeo.Decay decay
public IDecay customDecay
public double threshold
public double intensity
public boolean constantIntensity
public boolean bidirectional
public IFieldGeo linearDecay(double threshold)
linearDecay
in interface IFieldI
public IFieldGeo linear(double threshold)
public IFieldGeo gaussianDecay(double threshold)
gaussianDecay
in interface IFieldI
public IFieldGeo gaussian(double threshold)
public IFieldGeo gauss(double threshold)
public IFieldGeo.Decay decay()
public IFieldGeo decay(IDecay d, double threshold)
IFieldI
public IFieldGeo constantIntensity(boolean b)
constantIntensity
in interface IFieldI
public IFieldGeo bidirectional(boolean b)
bidirectional
in interface IFieldI
public IFieldGeo threshold(double t)
public double threshold()
IFieldI
public IFieldGeo intensity(double i)