|
||||||||
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.I3DField
igeo.ISurfaceSlopeField
public class ISurfaceSlopeField
3D vector filed defined by a NURBS surface slope in respect to a given vector.
Nested Class Summary | |
---|---|
static class |
ISurfaceSlopeField.ISurfaceSlopeFieldGeo
|
Field Summary |
---|
Fields inherited from class igeo.I3DField |
---|
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, userData |
Constructor Summary | |
---|---|
ISurfaceSlopeField(ISurfaceI srf)
|
|
ISurfaceSlopeField(ISurfaceI srf,
IVec gravityDir)
|
Method Summary | |
---|---|
ISurfaceSlopeField |
bidirectional(boolean b)
if bidirectional is on, field force vector is flipped when velocity of particle is going opposite |
ISurfaceSlopeField |
constantIntensity(boolean b)
if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used |
ISurfaceSlopeField |
gauss(double threshold)
alias of gaussianDecay |
ISurfaceSlopeField |
gaussian(double threshold)
alias of gaussianDecay |
ISurfaceSlopeField |
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). |
ISurfaceSlopeField |
intensity(double i)
set output intensity |
ISurfaceSlopeField |
linear(double threshold)
alias of linearDecay |
ISurfaceSlopeField |
linearDecay(double threshold)
set linear decay with threshold; When distance is equal to threshold, output is zero. |
ISurfaceSlopeField |
noDecay()
set no decay |
ISurfaceSlopeField |
threshold(double t)
set decay threshold |
Methods inherited from class igeo.I3DField |
---|
applyField, del, del, field, get, get, intensity, threshold |
Methods inherited from class igeo.IField |
---|
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 |
Methods inherited from class igeo.IAgent |
---|
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 |
Methods inherited from class igeo.IObject |
---|
addUserData, addUserData, alpha, alphaInt, attr, attr, attr, awtColor, blue, blueInt, castStringHashMap, clearDynamics, clearGraphics, clr, cp, createGraphic, defaultAttribute, deleteGraphic, dup, getAWTColor, getColor, getGraphic, getGraphic, getParameter, graphicsNum, gray, grayInt, green, greenInt, greyInt, initGraphic, initObject, isValid, isVisible, layer, layer, name, red, redInt, resetGraphic, server, setColor, setColor, setParameter, syncColor, syncGraphic, syncVisibility, syncWeight, userData, userData, userData, userDataNum, visible, weight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ISurfaceSlopeField(ISurfaceI srf)
public ISurfaceSlopeField(ISurfaceI srf, IVec gravityDir)
Method Detail |
---|
public ISurfaceSlopeField noDecay()
I3DField
noDecay
in interface IFieldI
noDecay
in class I3DField
public ISurfaceSlopeField linearDecay(double threshold)
I3DField
linearDecay
in interface IFieldI
linearDecay
in class I3DField
public ISurfaceSlopeField linear(double threshold)
I3DField
linear
in interface IFieldI
linear
in class I3DField
public ISurfaceSlopeField gaussianDecay(double threshold)
I3DField
gaussianDecay
in interface IFieldI
gaussianDecay
in class I3DField
public ISurfaceSlopeField gaussian(double threshold)
I3DField
gaussian
in interface IFieldI
gaussian
in class I3DField
public ISurfaceSlopeField gauss(double threshold)
I3DField
gauss
in interface IFieldI
gauss
in class I3DField
public ISurfaceSlopeField constantIntensity(boolean b)
I3DField
constantIntensity
in interface IFieldI
constantIntensity
in class I3DField
public ISurfaceSlopeField bidirectional(boolean b)
bidirectional
in interface IFieldI
bidirectional
in class I3DField
public ISurfaceSlopeField threshold(double t)
I3DField
threshold
in interface IFieldI
threshold
in class I3DField
public ISurfaceSlopeField intensity(double i)
I3DField
intensity
in interface IFieldI
intensity
in class I3DField
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |