public class IPointFieldGeo extends IFieldGeo implements I3DFieldI
IFieldGeo.Decay
Modifier and Type | Field and Description |
---|---|
IVecI |
dir |
IVecI |
pos |
bidirectional, constantIntensity, customDecay, decay, gaussDecay, intensity, linearDecay, noDecay, threshold
Constructor and Description |
---|
IPointFieldGeo(IVecI p,
IVecI d) |
Modifier and Type | Method and Description |
---|---|
void |
del() |
IVec |
dir() |
IPointFieldGeo |
gauss(double threshold)
alias of gaussianDecay
|
IPointFieldGeo |
gaussian(double threshold)
alias of gaussianDecay
|
IPointFieldGeo |
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 |
get(IVecI v)
get 3D vector field value
|
IVecI |
get(IVecI pt,
IVecI vel)
get 3D vector field value
|
IVecI |
getForce(IVecI v,
IVecI orig)
get original field value out of curve parameter u
|
IVecI |
getForce(IVecI pos,
IVecI vel,
IVecI orig)
get original field value out of curve parameter u
|
IPointFieldGeo |
intensity(double i)
set output intensity
|
IPointFieldGeo |
linear(double threshold)
alias of linearDecay
|
IPointFieldGeo |
linearDecay(double threshold)
set linear decay; When distance is equal to threshold, output is zero.
|
IPointFieldGeo |
noDecay()
set no decay
|
IVec |
pos() |
IPointFieldGeo |
threshold(double t)
set decay threshold
|
bidirectional, constantIntensity, decay, decay, intensity, threshold
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bidirectional, constantIntensity, decay, intensity, threshold
public IVecI getForce(IVecI v, IVecI orig)
public IVecI getForce(IVecI pos, IVecI vel, IVecI orig)
public IVec pos()
public IVec dir()
public IPointFieldGeo noDecay()
public IPointFieldGeo linearDecay(double threshold)
linearDecay
in interface IFieldI
linearDecay
in class IFieldGeo
public IPointFieldGeo linear(double threshold)
IFieldGeo
public IPointFieldGeo gaussianDecay(double threshold)
gaussianDecay
in interface IFieldI
gaussianDecay
in class IFieldGeo
public IPointFieldGeo gaussian(double threshold)
IFieldGeo
public IPointFieldGeo gauss(double threshold)
IFieldGeo
public IPointFieldGeo threshold(double t)
IFieldGeo
public IPointFieldGeo intensity(double i)
IFieldGeo