|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectigeo.IFieldGeo
igeo.I2DSurfaceFieldGeo
public class I2DSurfaceFieldGeo
2D vector filed defined by a NURBS surface.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class igeo.IFieldGeo |
|---|
IFieldGeo.Decay |
| Field Summary | |
|---|---|
ISurfaceI |
fieldSurface
|
ISurfaceI |
surface
|
| Fields inherited from class igeo.IFieldGeo |
|---|
bidirectional, constantIntensity, decay, intensity, threshold |
| Constructor Summary | |
|---|---|
I2DSurfaceFieldGeo(ISurfaceI srf,
ISurfaceI fieldSrf)
|
|
| Method Summary | |
|---|---|
I2DSurfaceFieldGeo |
bidirectional(boolean b)
if bidirectional is on, field force vector is flipped when velocity of particle is going opposite |
I2DSurfaceFieldGeo |
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()
|
I2DSurfaceFieldGeo |
gauss(double threshold)
alias of gaussianDecay |
I2DSurfaceFieldGeo |
gaussian(double threshold)
alias of gaussianDecay |
I2DSurfaceFieldGeo |
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). |
IVec2I |
get(IVecI v)
get 3D vector field value |
IVec2I |
get(IVecI pos,
IVec2I uv)
get original field value out of surface parameter uv |
IVec2I |
get(IVecI pos,
IVecI vel)
get 3D vector field value |
IVec2I |
get(IVecI pos,
IVecI vel,
IVec2I uv)
get original field value out of surface parameter uv |
I2DSurfaceFieldGeo |
intensity(double i)
set output intensity |
I2DSurfaceFieldGeo |
linear(double threshold)
alias of linearDecay |
I2DSurfaceFieldGeo |
linearDecay(double threshold)
set linear decay; When distance is equal to threshold, output is zero. |
I2DSurfaceFieldGeo |
noDecay()
set no decay |
I2DSurfaceFieldGeo |
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 ISurfaceI surface
public ISurfaceI fieldSurface
| Constructor Detail |
|---|
public I2DSurfaceFieldGeo(ISurfaceI srf,
ISurfaceI fieldSrf)
| Method Detail |
|---|
public IVec2I get(IVecI pos,
IVec2I uv)
public IVec2I get(IVecI pos,
IVecI vel,
IVec2I uv)
public IVec2I get(IVecI v)
get in interface I2DFieldIget in interface IFieldI
public IVec2I get(IVecI pos,
IVecI vel)
get in interface I2DFieldIget in interface IFieldIpublic I2DSurfaceFieldGeo constantIntensity(boolean b)
constantIntensity in interface IFieldIconstantIntensity in class IFieldGeopublic I2DSurfaceFieldGeo bidirectional(boolean b)
bidirectional in interface IFieldIbidirectional in class IFieldGeopublic I2DSurfaceFieldGeo noDecay()
noDecay in interface IFieldInoDecay in class IFieldGeopublic I2DSurfaceFieldGeo linearDecay(double threshold)
linearDecay in interface IFieldIlinearDecay in class IFieldGeopublic I2DSurfaceFieldGeo linear(double threshold)
IFieldGeo
linear in interface IFieldIlinear in class IFieldGeopublic I2DSurfaceFieldGeo gaussianDecay(double threshold)
gaussianDecay in interface IFieldIgaussianDecay in class IFieldGeopublic I2DSurfaceFieldGeo gaussian(double threshold)
IFieldGeo
gaussian in interface IFieldIgaussian in class IFieldGeopublic I2DSurfaceFieldGeo gauss(double threshold)
IFieldGeo
gauss in interface IFieldIgauss in class IFieldGeopublic I2DSurfaceFieldGeo threshold(double t)
IFieldGeo
threshold in interface IFieldIthreshold in class IFieldGeopublic I2DSurfaceFieldGeo intensity(double i)
IFieldGeo
intensity in interface IFieldIintensity in class IFieldGeopublic void del()
del in interface IFieldI
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||