|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectigeo.IFieldGeo
igeo.IMeshFieldGeo
public class IMeshFieldGeo
3D vector filed defined by a mesh.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class igeo.IFieldGeo |
---|
IFieldGeo.Decay |
Field Summary | |
---|---|
IMeshI |
mesh
|
Fields inherited from class igeo.IFieldGeo |
---|
bidirectional, constantIntensity, decay, intensity, threshold |
Constructor Summary | |
---|---|
IMeshFieldGeo(IMeshI m)
|
Method Summary | |
---|---|
IMeshFieldGeo |
bidirectional(boolean b)
if bidirectional is on, field force vector is flipped when velocity of particle is going opposite |
IMeshFieldGeo |
constantIntensity(boolean b)
if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used |
void |
del()
|
IMeshFieldGeo |
gauss(double threshold)
alias of gaussianDecay |
IMeshFieldGeo |
gaussian(double threshold)
alias of gaussianDecay |
IMeshFieldGeo |
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(int vertexIdx)
|
IVecI |
get(IVecI pos)
get 3D vector field value |
IVecI |
get(IVecI pos,
IVecI vel)
get 3D vector field value |
IMeshFieldGeo |
intensity(double i)
set output intensity |
IMeshFieldGeo |
linear(double threshold)
alias of linearDecay |
IMeshFieldGeo |
linearDecay(double threshold)
set linear decay; When distance is equal to threshold, output is zero. |
IMeshFieldGeo |
noDecay()
set no decay |
IMeshFieldGeo |
threshold(double t)
set decay threshold |
Methods inherited from class igeo.IFieldGeo |
---|
decay, intensity, threshold |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface igeo.IFieldI |
---|
intensity, threshold |
Field Detail |
---|
public IMeshI mesh
Constructor Detail |
---|
public IMeshFieldGeo(IMeshI m)
Method Detail |
---|
public IVecI get(int vertexIdx)
public IVecI get(IVecI pos)
get
in interface I3DFieldI
get
in interface IFieldI
public IVecI get(IVecI pos, IVecI vel)
get
in interface I3DFieldI
get
in interface IFieldI
pos
- positio of the input particlevel
- velocity of the input particlepublic IMeshFieldGeo constantIntensity(boolean b)
constantIntensity
in interface IFieldI
constantIntensity
in class IFieldGeo
public IMeshFieldGeo bidirectional(boolean b)
bidirectional
in interface IFieldI
bidirectional
in class IFieldGeo
public IMeshFieldGeo noDecay()
noDecay
in interface IFieldI
noDecay
in class IFieldGeo
public IMeshFieldGeo linearDecay(double threshold)
linearDecay
in interface IFieldI
linearDecay
in class IFieldGeo
public IMeshFieldGeo linear(double threshold)
IFieldGeo
linear
in interface IFieldI
linear
in class IFieldGeo
public IMeshFieldGeo gaussianDecay(double threshold)
gaussianDecay
in interface IFieldI
gaussianDecay
in class IFieldGeo
public IMeshFieldGeo gaussian(double threshold)
IFieldGeo
gaussian
in interface IFieldI
gaussian
in class IFieldGeo
public IMeshFieldGeo gauss(double threshold)
IFieldGeo
gauss
in interface IFieldI
gauss
in class IFieldGeo
public IMeshFieldGeo threshold(double t)
IFieldGeo
threshold
in interface IFieldI
threshold
in class IFieldGeo
public IMeshFieldGeo intensity(double i)
IFieldGeo
intensity
in interface IFieldI
intensity
in class IFieldGeo
public void del()
del
in interface IFieldI
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |