public class I2DSurfaceVTangentField extends I2DField
Modifier and Type | Class and Description |
---|---|
static class |
I2DSurfaceVTangentField.I2DSurfaceVTangentFieldGeo |
targetClasses
alive, duration, interactOverridden, localDynamics, parent, targets, time
Constructor and Description |
---|
I2DSurfaceVTangentField(ISurfaceI srf) |
Modifier and Type | Method and Description |
---|---|
I2DSurfaceVTangentField |
bidirectional(boolean b)
if bidirectional is on, field force vector is flipped when velocity of particle is going opposite
|
I2DSurfaceVTangentField |
constantIntensity(boolean b)
if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used
|
I2DSurfaceVTangentField |
decay(IDecay decay,
double threshold)
custom decay
|
I2DSurfaceVTangentField |
gauss(double threshold)
alias of gaussianDecay
|
I2DSurfaceVTangentField |
gaussian(double threshold)
alias of gaussianDecay
|
I2DSurfaceVTangentField |
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).
|
I2DSurfaceVTangentField |
intensity(double i)
set output intensity
|
I2DSurfaceVTangentField |
linear(double threshold)
alias of linearDecay
|
I2DSurfaceVTangentField |
linearDecay(double threshold)
set linear decay with threshold; When distance is equal to threshold, output is zero.
|
I2DSurfaceVTangentField |
noDecay()
set no decay
|
I2DSurfaceVTangentField |
threshold(double t)
set decay threshold
|
applyField, del, del, field, get, get, intensity, threshold
clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, hide, hsb, hsb, hsb, hsb, interact, isTarget, isTargetClass, layer, name, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setHSBColor, setHSBColor, setHSBColor, setHSBColor, show, target, target, targetClass, targetClass, weight, weight
addDynamics, alive, deletDynamics, deleteDynamics, deleteDynamics, duration, duration, dynamicsNum, getDynamics, initAgent, interact, localDynamics, parent, parent, postinteract, postupdate, preinteract, preupdate, removeTarget, removeTarget, setColor, setColor, setColor, setColor, target, target, targetNum, targets, time, time, update, updateGraphic, updateTarget
addUserData, addUserData, alpha, alphaInt, attr, attr, attr, awtColor, blue, blueInt, brightness, castStringHashMap, clearDynamics, clearGraphics, clr, cp, createGraphic, defaultAttribute, deleteGraphic, dup, getAWTColor, getColor, getGraphic, getGraphic, getParameter, graphicsNum, gray, grayInt, green, greenInt, grey, greyInt, hue, initGraphic, initObject, isValid, isVisible, layer, layer, name, red, redInt, resetGraphic, saturation, server, setColor, setColor, setParameter, setTexture, syncColor, syncGraphic, syncVisibility, syncWeight, texture, userData, userData, userData, userDataNum, visible, weight
public I2DSurfaceVTangentField(ISurfaceI srf)
public I2DSurfaceVTangentField noDecay()
I2DField
public I2DSurfaceVTangentField linearDecay(double threshold)
I2DField
linearDecay
in interface IFieldI
linearDecay
in class I2DField
public I2DSurfaceVTangentField linear(double threshold)
I2DField
public I2DSurfaceVTangentField gaussianDecay(double threshold)
I2DField
gaussianDecay
in interface IFieldI
gaussianDecay
in class I2DField
public I2DSurfaceVTangentField gaussian(double threshold)
I2DField
public I2DSurfaceVTangentField gauss(double threshold)
IFieldI
public I2DSurfaceVTangentField decay(IDecay decay, double threshold)
I2DField
public I2DSurfaceVTangentField constantIntensity(boolean b)
I2DField
constantIntensity
in interface IFieldI
constantIntensity
in class I2DField
public I2DSurfaceVTangentField bidirectional(boolean b)
bidirectional
in interface IFieldI
bidirectional
in class I2DField
public I2DSurfaceVTangentField threshold(double t)
I2DField