|
|||||||||
| 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.IScalarField
public abstract class IScalarField
scalar filed agent.
| Field Summary | |
|---|---|
IScalarFieldI |
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 | |
|---|---|
IScalarField(IScalarFieldI f)
|
|
| Method Summary | |
|---|---|
void |
applyForce(IParticleI p)
|
IScalarField |
constantIntensity(boolean b)
if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used |
IScalarFieldI |
field()
|
IScalarField |
gaussian(double threshold)
alias of gaussianDecay |
IScalarField |
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). |
double |
intensity()
get output intensity |
IScalarField |
intensity(double i)
set output intensity |
IScalarField |
linear(double threshold)
alias of linearDecay |
IScalarField |
linearDecay(double threshold)
set linear decay with threshold; When distance is equal to threshold, output is zero. |
IScalarField |
noDecay()
set no decay |
double |
threshold()
get decay threshold |
IScalarField |
threshold(double t)
set decay threshold |
abstract IVecI |
to3d(IScalar v)
convert scalar value to 3d vector |
| Methods inherited from class igeo.IField |
|---|
applyField, 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 |
| Methods inherited from interface igeo.IScalarFieldI |
|---|
get |
| Field Detail |
|---|
public IScalarFieldI field
| Constructor Detail |
|---|
public IScalarField(IScalarFieldI f)
| Method Detail |
|---|
public abstract IVecI to3d(IScalar v)
public void applyForce(IParticleI p)
public IScalarFieldI field()
public IScalarField noDecay()
noDecay in interface IFieldIpublic IScalarField linearDecay(double threshold)
linearDecay in interface IFieldIpublic IScalarField linear(double threshold)
IFieldI
linear in interface IFieldIpublic IScalarField gaussianDecay(double threshold)
gaussianDecay in interface IFieldIpublic IScalarField gaussian(double threshold)
IFieldI
gaussian in interface IFieldIpublic IScalarField constantIntensity(boolean b)
constantIntensity in interface IFieldIpublic IScalarField threshold(double t)
threshold in interface IFieldIpublic double threshold()
threshold in interface IFieldIpublic IScalarField 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 | ||||||||