public class IPointCurlFieldGeo extends IPointFieldGeo
IFieldGeo.Decay
dir, pos
bidirectional, constantIntensity, customDecay, decay, gaussDecay, intensity, linearDecay, noDecay, threshold
Constructor and Description |
---|
IPointCurlFieldGeo(IVecI pos,
IVecI axis) |
Modifier and Type | Method and Description |
---|---|
IPointCurlFieldGeo |
bidirectional(boolean b)
if bidirectional is on, field force vector is flipped when velocity of particle is going opposite
|
IPointCurlFieldGeo |
constantIntensity(boolean b)
if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used
|
IPointCurlFieldGeo |
gauss(double threshold)
alias of gaussianDecay
|
IPointCurlFieldGeo |
gaussian(double threshold)
alias of gaussianDecay
|
IPointCurlFieldGeo |
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
|
IPointCurlFieldGeo |
intensity(double i)
set output intensity
|
IPointCurlFieldGeo |
linear(double threshold)
alias of linearDecay
|
IPointCurlFieldGeo |
linearDecay(double threshold)
set linear decay; When distance is equal to threshold, output is zero.
|
IPointCurlFieldGeo |
noDecay()
set no decay
|
IPointCurlFieldGeo |
threshold(double t)
set decay threshold
|
public IVecI getForce(IVecI v, IVecI orig)
IPointFieldGeo
getForce
in class IPointFieldGeo
public IPointCurlFieldGeo noDecay()
IPointFieldGeo
noDecay
in interface IFieldI
noDecay
in class IPointFieldGeo
public IPointCurlFieldGeo linearDecay(double threshold)
IPointFieldGeo
linearDecay
in interface IFieldI
linearDecay
in class IPointFieldGeo
public IPointCurlFieldGeo linear(double threshold)
IFieldGeo
linear
in interface IFieldI
linear
in class IPointFieldGeo
public IPointCurlFieldGeo gaussianDecay(double threshold)
IPointFieldGeo
gaussianDecay
in interface IFieldI
gaussianDecay
in class IPointFieldGeo
public IPointCurlFieldGeo gaussian(double threshold)
IFieldGeo
gaussian
in interface IFieldI
gaussian
in class IPointFieldGeo
public IPointCurlFieldGeo gauss(double threshold)
IFieldGeo
gauss
in interface IFieldI
gauss
in class IPointFieldGeo
public IPointCurlFieldGeo constantIntensity(boolean b)
IFieldGeo
constantIntensity
in interface IFieldI
constantIntensity
in class IFieldGeo
public IPointCurlFieldGeo bidirectional(boolean b)
bidirectional
in interface IFieldI
bidirectional
in class IFieldGeo
public IPointCurlFieldGeo threshold(double t)
IFieldGeo
threshold
in interface IFieldI
threshold
in class IPointFieldGeo
public IPointCurlFieldGeo intensity(double i)
IFieldGeo
intensity
in interface IFieldI
intensity
in class IPointFieldGeo