|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectigeo.IObject
igeo.IAgent
igeo.IField
igeo.I2DField
public abstract class I2DField
2D vector filed agent.
| Field Summary | |
|---|---|
I2DFieldI |
field
|
| Fields inherited from class igeo.IField |
|---|
targetClasses |
| Fields inherited from class igeo.IAgent |
|---|
alive, duration, interactOverridden, localDynamics, parent, targets, time |
| Fields inherited from class igeo.IObject |
|---|
attribute, dynamics, graphics, parameter, server |
| Constructor Summary | |
|---|---|
I2DField(I2DFieldI f)
|
|
| Method Summary | |
|---|---|
void |
applyField(IParticleI p)
|
I2DField |
constantIntensity(boolean b)
if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used |
I2DFieldI |
field()
|
I2DField |
gaussian(double threshold)
alias of gaussianDecay |
I2DField |
gaussianDecay(double threshold)
set Gaussian decay with threshold; Threshold is used as double of standard deviation (when distance is eqaul to threshold, output is 13.5% of original). |
IVec2I |
get(IVecI pt)
get field value at 3D location |
double |
intensity()
get output intensity |
I2DField |
intensity(double i)
set output intensity |
I2DField |
linear(double threshold)
alias of linearDecay |
I2DField |
linearDecay(double threshold)
set linear decay with threshold; When distance is equal to threshold, output is zero. |
I2DField |
noDecay()
set no decay |
double |
threshold()
get decay threshold |
I2DField |
threshold(double t)
set decay threshold |
| Methods inherited from class igeo.IField |
|---|
interact, isTarget, isTargetClass, target, target, targetClass, targetClass |
| Methods inherited from class igeo.IAgent |
|---|
addDynamics, alive, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, del, deletDynamics, deleteDynamics, deleteDynamics, duration, duration, dynamicsNum, getDynamics, hide, hsb, hsb, hsb, hsb, initAgent, interact, layer, localDynamics, name, parent, parent, postinteract, postupdate, preinteract, preupdate, removeTarget, removeTarget, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setHSBColor, setHSBColor, setHSBColor, setHSBColor, show, target, target, targetNum, targets, time, time, update, updateGraphic, updateTarget, weight, weight |
| Methods inherited from class igeo.IObject |
|---|
alpha, alphaInt, attr, attr, attr, blue, blueInt, clearDynamics, clearGraphics, clr, clr, cp, createGraphic, deleteGraphic, dup, getColor, getGraphic, getGraphic, getParameter, graphicsNum, gray, grayInt, green, greenInt, greyInt, initGraphic, initObject, isValid, isVisible, layer, layer, name, red, redInt, resetGraphic, server, setParameter, syncColor, syncGraphic, syncWeight, visible, weight |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public I2DFieldI field
| Constructor Detail |
|---|
public I2DField(I2DFieldI f)
| Method Detail |
|---|
public IVec2I get(IVecI pt)
I2DFieldI
get in interface I2DFieldIget in interface IFieldIpublic void applyField(IParticleI p)
applyField in class IFieldpublic I2DFieldI field()
public I2DField noDecay()
noDecay in interface IFieldIpublic I2DField linearDecay(double threshold)
linearDecay in interface IFieldIpublic I2DField linear(double threshold)
linear in interface IFieldIpublic I2DField gaussianDecay(double threshold)
gaussianDecay in interface IFieldIpublic I2DField gaussian(double threshold)
gaussian in interface IFieldIpublic I2DField constantIntensity(boolean b)
constantIntensity in interface IFieldIpublic I2DField threshold(double t)
threshold in interface IFieldIpublic double threshold()
threshold in interface IFieldIpublic I2DField intensity(double i)
intensity in interface IFieldIpublic double intensity()
intensity in interface IFieldI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||