public class IAttractorGeo extends IPointFieldGeo
IFieldGeo.Decaydir, posbidirectional, constantIntensity, customDecay, decay, gaussDecay, intensity, linearDecay, noDecay, threshold| Constructor and Description |
|---|
IAttractorGeo(IVecI p) |
| Modifier and Type | Method and Description |
|---|---|
IAttractorGeo |
bidirectional(boolean b)
if bidirectional is on, field force vector is flipped when velocity of particle is going opposite
|
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 |
gauss(double threshold)
alias of gaussianDecay
|
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 |
getForce(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
|
public IAttractorGeo(IVecI p)
public IVecI getForce(IVecI v, IVecI orig)
IPointFieldGeogetForce in class IPointFieldGeopublic IAttractorGeo noDecay()
IPointFieldGeonoDecay in interface IFieldInoDecay in class IPointFieldGeopublic IAttractorGeo linearDecay(double threshold)
IPointFieldGeolinearDecay in interface IFieldIlinearDecay in class IPointFieldGeopublic IAttractorGeo linear(double threshold)
IFieldGeolinear in interface IFieldIlinear in class IPointFieldGeopublic IAttractorGeo gaussianDecay(double threshold)
IPointFieldGeogaussianDecay in interface IFieldIgaussianDecay in class IPointFieldGeopublic IAttractorGeo gaussian(double threshold)
IFieldGeogaussian in interface IFieldIgaussian in class IPointFieldGeopublic IAttractorGeo gauss(double threshold)
IFieldGeogauss in interface IFieldIgauss in class IPointFieldGeopublic IAttractorGeo constantIntensity(boolean b)
IFieldGeoconstantIntensity in interface IFieldIconstantIntensity in class IFieldGeopublic IAttractorGeo bidirectional(boolean b)
bidirectional in interface IFieldIbidirectional in class IFieldGeopublic IAttractorGeo threshold(double t)
IFieldGeothreshold in interface IFieldIthreshold in class IPointFieldGeopublic IAttractorGeo intensity(double i)
IFieldGeointensity in interface IFieldIintensity in class IPointFieldGeo