|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectigeo.IObject
igeo.IAgent
igeo.IPointAgent
igeo.IParticle
igeo.IBoid
public class IBoid
Class of an agent based on one point, extending IPoint and implements IDynamics
Field Summary |
---|
Fields inherited from class igeo.IParticle |
---|
frc, particle, vel |
Fields inherited from class igeo.IPointAgent |
---|
point, pos, tracker |
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 | |
---|---|
IBoid()
|
|
IBoid(double x,
double y,
double z)
|
|
IBoid(double x,
double y,
double z,
double vx,
double vy,
double vz)
|
|
IBoid(IBoid b)
|
|
IBoid(IGeometry... geometries)
|
|
IBoid(IVec pt)
|
|
IBoid(IVecI pt)
|
|
IBoid(IVecI geometryOrigin,
IGeometry... geometries)
|
|
IBoid(IVecI pt,
IVecI vel)
|
|
IBoid(IVecI geometryOrigin,
IVecI geometryOrientation,
IGeometry... geometries)
|
|
IBoid(IVec pt,
IVec vel)
|
Method Summary | |
---|---|
IBoid |
add(double x,
double y,
double z)
|
IBoid |
add(double f,
IVecI v)
scale add |
IBoid |
add(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IBoid |
add(IDoubleI f,
IVecI v)
scale add |
IBoid |
add(IVecI v)
|
IBoid |
add(IVecI v,
double f)
scale add |
IBoid |
add(IVecI v,
IDoubleI f)
scale add |
IBoid |
addForce(double fx,
double fy,
double fz)
alias of push |
IBoid |
addForce(IVecI f)
alias of push |
IBoid |
ali(double ratio,
double dist)
|
double |
aliDist()
|
IBoid |
aliDist(double dist)
|
IBoid |
alignment(double ratio,
double dist)
|
double |
alignmentDist()
|
IBoid |
alignmentDist(double dist)
|
double |
alignmentLimit()
|
IBoid |
alignmentLimit(double limit)
|
double |
alignmentRatio()
|
IBoid |
alignmentRatio(double ratio)
|
double |
aliLimit()
|
IBoid |
aliLimit(double limit)
|
double |
aliRatio()
|
IBoid |
aliRatio(double ratio)
|
IBoid |
attach(IGeometry... geometries)
attach geometry object to agent to track its location. |
IBoid |
attach(IVecI geometryOrigin,
IGeometry... geometries)
attach geometry object to agent to track its location. |
IBoid |
attach(IVecI geometryOrigin,
IVecI geometryOrientation,
IGeometry... geometries)
attach geometry object to agent to track its location. |
IBoidGeo |
boid()
|
IBoid |
clr(double dgray)
|
IBoid |
clr(double dgray,
double dalpha)
|
IBoid |
clr(double dr,
double dg,
double db)
|
IBoid |
clr(double dr,
double dg,
double db,
double da)
|
IBoid |
clr(float fgray)
|
IBoid |
clr(float fgray,
float falpha)
|
IBoid |
clr(float fr,
float fg,
float fb)
|
IBoid |
clr(float fr,
float fg,
float fb,
float fa)
|
IBoid |
clr(IColor c)
|
IBoid |
clr(IColor c,
double alpha)
to set color, with alpha value overwritten |
IBoid |
clr(IColor c,
float alpha)
to set color, with alpha value overwritten |
IBoid |
clr(IColor c,
int alpha)
to set color, with alpha value overwritten |
IBoid |
clr(int gray)
|
IBoid |
clr(int gray,
int alpha)
|
IBoid |
clr(int r,
int g,
int b)
|
IBoid |
clr(int r,
int g,
int b,
int a)
|
IBoid |
coh(double ratio,
double dist)
|
double |
cohDist()
|
IBoid |
cohDist(double dist)
|
IBoid |
cohesion(double ratio,
double dist)
|
double |
cohesionDist()
|
IBoid |
cohesionDist(double dist)
|
double |
cohesionLimit()
|
IBoid |
cohesionLimit(double limit)
|
double |
cohesionRatio()
|
IBoid |
cohesionRatio(double ratio)
|
double |
cohLimit()
|
IBoid |
cohLimit(double limit)
|
double |
cohRatio()
|
IBoid |
cohRatio(double ratio)
|
IBoid |
cp()
alias of dup() |
IBoid |
cp(double x,
double y,
double z)
cp() is alias of dup().add() |
IBoid |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z)
cp() is alias of dup().add() |
IBoid |
cp(IVecI v)
cp() is alias of dup().add() |
IBoid |
decay(double d)
|
IBoid |
div(double v)
|
IBoid |
div(IDoubleI v)
|
IBoid |
dup()
duplicate object |
IBoid |
fix()
IParticleI API |
IBoid |
flip()
alias of neg() |
IBoid |
force(IVecI v)
set force |
IBoid |
frc(IVecI v)
set force |
IBoid |
fric(double friction)
set friction |
IBoid |
friction(double friction)
set friction |
IBoid |
hide()
|
IBoid |
hideGeometry()
hide attached geometry |
IBoid |
hidePoint()
|
IBoid |
hsb(double h,
double s,
double b)
|
IBoid |
hsb(double h,
double s,
double b,
double a)
|
IBoid |
hsb(float h,
float s,
float b)
|
IBoid |
hsb(float h,
float s,
float b,
float a)
|
boolean |
isTarget(java.lang.Object obj)
alias |
boolean |
isTargetClass(java.lang.Object obj)
|
IBoid |
layer(ILayer l)
Set layer by ILayer object |
IBoid |
len(double l)
setting length |
IBoid |
len(IDoubleI l)
setting length |
IBoid |
mass(double mass)
set mass |
IBoid |
mirror(double planeX,
double planeY,
double planeZ)
alias of ref |
IBoid |
mirror(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
alias of ref |
IBoid |
mirror(IVecI planeDir)
alias of ref |
IBoid |
mirror(IVecI center,
IVecI planeDir)
alias of ref |
IBoid |
mul(double v)
|
IBoid |
mul(IDoubleI v)
|
IBoid |
mv(double x,
double y,
double z)
mv() is alias of add() |
IBoid |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z)
mv() is alias of add() |
IBoid |
mv(IVecI v)
mv() is alias of add() |
IBoid |
name(java.lang.String nm)
methods of IObject |
IBoid |
neg()
|
IBoid |
param(double cohRatio,
double cohDist,
double sepRatio,
double sepDist,
double aliRatio,
double aliDist)
|
IBoid |
parameter(double cohRatio,
double cohDist,
double sepRatio,
double sepDist,
double aliRatio,
double aliDist)
|
IBoid |
pos(IVecI v)
set position |
IBoid |
position(IVecI v)
set position |
IBoid |
pull(double fx,
double fy,
double fz)
equivalent to push(f.dup().neg()) |
IBoid |
pull(IVecI f)
equivalent to push(f.dup().neg()) |
IBoid |
push(double fx,
double fy,
double fz)
adding force to particle |
IBoid |
push(IVecI f)
adding force to particle |
IBoid |
ref(double planeX,
double planeY,
double planeZ)
reflect(mirror) 3 dimensionally to the other side of the plane |
IBoid |
ref(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
reflect(mirror) 3 dimensionally to the other side of the plane |
IBoid |
ref(IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane |
IBoid |
ref(IVecI center,
IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane |
IBoid |
reset()
setting force zero |
IBoid |
resetForce()
alias of reset |
IBoid |
rev()
alias of neg() |
IBoid |
rot(double angle)
rotation on XY plane |
IBoid |
rot(double axisX,
double axisY,
double axisZ,
double angle)
rotation around axis vector |
IBoid |
rot(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double angle)
rotation around axis vector and center point |
IBoid |
rot(IDoubleI angle)
rotation on XY plane |
IBoid |
rot(IVecI axis,
double angle)
rotation around axis vector |
IBoid |
rot(IVecI axis,
IDoubleI angle)
rotation around axis vector |
IBoid |
rot(IVecI axis,
IVecI destDir)
rotate to destination direction vector |
IBoid |
rot(IVecI center,
IVecI axis,
double angle)
rotation around axis vector and center point |
IBoid |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
rotation around axis vector and center point |
IBoid |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotate to destination point location |
IBoid |
rot2(double angle)
rotation on xy-plane; alias of rot(double) |
IBoid |
rot2(double centerX,
double centerY,
double angle)
rotation on xy-plane |
IBoid |
rot2(IDoubleI angle)
rotation on xy-plane; alias of rot(IDoubleI) |
IBoid |
rot2(IVecI destDir)
rotation on xy-plane towards destDir |
IBoid |
rot2(IVecI center,
double angle)
rotation on xy-plane |
IBoid |
rot2(IVecI center,
IDoubleI angle)
rotation on xy-plane |
IBoid |
rot2(IVecI center,
IVecI destPt)
rotation on xy-plane towards destPt |
IBoid |
scale(double f)
alias of mul |
IBoid |
scale(double centerX,
double centerY,
double centerZ,
double f)
scale from a center |
IBoid |
scale(IDoubleI f)
alias of mul |
IBoid |
scale(IVecI center,
double f)
scale from a center |
IBoid |
scale(IVecI center,
IDoubleI f)
scale from a center |
IBoid |
scale1d(double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction |
IBoid |
scale1d(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction from a center |
IBoid |
scale1d(IVecI axis,
double f)
scale only in 1 direction |
IBoid |
scale1d(IVecI axis,
IDoubleI f)
scale only in 1 direction |
IBoid |
scale1d(IVecI center,
IVecI axis,
double f)
scale only in 1 direction from a center |
IBoid |
scale1d(IVecI center,
IVecI axis,
IDoubleI f)
scale only in 1 direction from a center |
IBoid |
sep(double ratio,
double dist)
|
IBoid |
separation(double ratio,
double dist)
|
double |
separationDist()
|
IBoid |
separationDist(double dist)
|
double |
separationLimit()
|
IBoid |
separationLimit(double limit)
|
double |
separationRatio()
|
IBoid |
separationRatio(double ratio)
|
double |
sepDist()
|
IBoid |
sepDist(double dist)
|
double |
sepLimit()
|
IBoid |
sepLimit(double limit)
|
double |
sepRatio()
|
IBoid |
sepRatio(double ratio)
|
IBoid |
set(double x,
double y,
double z)
|
IBoid |
set(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IBoid |
set(IVecI v)
|
IBoid |
setColor(double dgray)
|
IBoid |
setColor(double dgray,
double dalpha)
|
IBoid |
setColor(double dr,
double dg,
double db)
|
IBoid |
setColor(double dr,
double dg,
double db,
double da)
|
IBoid |
setColor(float fgray)
|
IBoid |
setColor(float fgray,
float falpha)
|
IBoid |
setColor(float fr,
float fg,
float fb)
|
IBoid |
setColor(float fr,
float fg,
float fb,
float fa)
|
IBoid |
setColor(IColor c)
|
IBoid |
setColor(IColor c,
double alpha)
|
IBoid |
setColor(IColor c,
float alpha)
|
IBoid |
setColor(IColor c,
int alpha)
|
IBoid |
setColor(int gray)
|
IBoid |
setColor(int gray,
int alpha)
|
IBoid |
setColor(int r,
int g,
int b)
|
IBoid |
setColor(int r,
int g,
int b,
int a)
|
IBoid |
setHSBColor(double h,
double s,
double b)
|
IBoid |
setHSBColor(double h,
double s,
double b,
double a)
|
IBoid |
setHSBColor(float h,
float s,
float b)
|
IBoid |
setHSBColor(float h,
float s,
float b,
float a)
|
IBoid |
setSize(double sz)
methods of IPoint |
IBoid |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation |
IBoid |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation |
IBoid |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation |
IBoid |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation |
IBoid |
shearXY(double sxy,
double syx)
shear operation on XY |
IBoid |
shearXY(IDoubleI sxy,
IDoubleI syx)
shear operation on XY |
IBoid |
shearXY(IVecI center,
double sxy,
double syx)
shear operation on XY |
IBoid |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
shear operation on XY |
IBoid |
shearYZ(double syz,
double szy)
shear operation on YZ |
IBoid |
shearYZ(IDoubleI syz,
IDoubleI szy)
shear operation on YZ |
IBoid |
shearYZ(IVecI center,
double syz,
double szy)
shear operation on YZ |
IBoid |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
shear operation on YZ |
IBoid |
shearZX(double szx,
double sxz)
shear operation on ZX |
IBoid |
shearZX(IDoubleI szx,
IDoubleI sxz)
shear operation on ZX |
IBoid |
shearZX(IVecI center,
double szx,
double sxz)
shear operation on ZX |
IBoid |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
shear operation on ZX |
IBoid |
show()
|
IBoid |
showGeometry()
show attached geometry |
IBoid |
showPoint()
|
IBoid |
size(double sz)
|
IBoid |
skipUpdateOnce(boolean f)
for other agent to control particle |
IBoid |
sub(double x,
double y,
double z)
|
IBoid |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IBoid |
sub(IVecI v)
|
IBoid |
target(java.lang.Class<? extends IBoidI>... targets)
alias |
IBoid |
target(java.lang.Class<? extends IBoidI> targetClass)
alias |
IBoid |
targetClass(java.lang.Class<? extends IBoidI>... targets)
make the field applicable only to the specified target classes |
IBoid |
targetClass(java.lang.Class<? extends IBoidI> targetClass)
make the field applicable only to the specified target class |
IBoid |
transform(IMatrix3I mat)
transform with a transformation matrix |
IBoid |
transform(IMatrix4I mat)
transform with a transformation matrix |
IBoid |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
transform with a transformation vectors |
IBoid |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
transform with a transformation vectors |
IBoid |
translate(double x,
double y,
double z)
alias of add() |
IBoid |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
alias of add() |
IBoid |
translate(IVecI v)
alias of add() |
IBoid |
unfix()
unfix movement |
IBoid |
unit()
unitize |
IBoid |
vel(IVecI v)
set velocity |
IBoid |
velocity(IVecI v)
set velocity |
IBoid |
weight(double w)
|
IBoid |
weight(float w)
|
IBoid |
x(double vx)
methods of IVecI |
IBoid |
x(IDoubleI vx)
setting x component |
IBoid |
y(double vy)
setting y component |
IBoid |
y(IDoubleI vy)
setting y component |
IBoid |
z(double vz)
setting z component |
IBoid |
z(IDoubleI vz)
setting z component |
IBoid |
zero()
setting all zero |
Methods inherited from class igeo.IParticle |
---|
acc, acceleration, decay, fixed, force, frc, fric, friction, initParticleAgent, initParticleAgent, initParticleAgent, initParticleAgent, initParticleAgent, mass, pos, position, removeTarget, removeTarget, skipUpdateOnce, target, vel, velocity |
Methods inherited from class igeo.IPointAgent |
---|
angle, angle, angle, angle, angle, angle, angle, angle, bisect, bisect, brep, brep, brepNum, breps, cross, cross, curve, curve, curveNum, curves, del, del, dif, dif, diff, diff, dist, dist, dist, dist, dist2, dist2, dist2, dist2, dot, dot, dot, dot, eq, eq, eq, eq, eq, eq, eq, eq, eqX, eqX, eqX, eqX, eqX, eqX, eqX, eqX, eqY, eqY, eqY, eqY, eqY, eqY, eqY, eqY, eqZ, eqZ, eqZ, eqZ, eqZ, eqZ, eqZ, eqZ, geometries, geometry, geometry, geometryNum, get, getSize, getX, getY, getZ, isValid, len, len, len, len2, len2, len2, mesh, mesh, meshes, meshNum, mid, mid, nml, nml, nml, nml, point, point, pointNum, points, size, sum, sum, sum, sum, sum, sum, sum, surface, surface, surfaceNum, surfaces, to2d, to2d, to2d, to2d, to4d, to4d, to4d, toString, x, x, x, y, y, y, z, z, z |
Methods inherited from class igeo.IAgent |
---|
addDynamics, alive, deletDynamics, deleteDynamics, deleteDynamics, duration, duration, dynamicsNum, getDynamics, initAgent, interact, interact, localDynamics, parent, parent, postinteract, postupdate, preinteract, preupdate, target, targetNum, targets, time, time, update, updateGraphic, updateTarget |
Methods inherited from class igeo.IObject |
---|
alpha, alphaInt, attr, attr, attr, awtColor, blue, blueInt, clearDynamics, clearGraphics, clr, clr, clr, clr, clr, createGraphic, defaultAttribute, deleteGraphic, getAWTColor, getColor, getGraphic, getGraphic, getParameter, graphicsNum, gray, grayInt, green, greenInt, greyInt, initGraphic, initObject, isVisible, layer, layer, name, red, redInt, resetGraphic, server, setColor, setColor, setColor, setColor, setParameter, syncColor, syncGraphic, syncVisibility, syncWeight, userData, userData, visible, weight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface igeo.IParticleI |
---|
acc, acceleration, decay, fixed, force, frc, fric, friction, mass, pos, position, removeTarget, removeTarget, skipUpdateOnce, target, target, targetNum, targets, updateTarget, vel, velocity |
Methods inherited from interface igeo.IVecI |
---|
angle, angle, angle, angle, angle, angle, angle, angle, bisect, bisect, cross, cross, dif, dif, diff, diff, dist, dist, dist, dist, dist2, dist2, dist2, dist2, dot, dot, dot, dot, eq, eq, eq, eq, eq, eq, eq, eq, eqX, eqX, eqX, eqX, eqX, eqX, eqX, eqX, eqY, eqY, eqY, eqY, eqY, eqY, eqY, eqY, eqZ, eqZ, eqZ, eqZ, eqZ, eqZ, eqZ, eqZ, get, getX, getY, getZ, isValid, len, len, len, len2, len2, len2, mid, mid, nml, nml, nml, nml, sum, sum, sum, sum, sum, sum, sum, to2d, to2d, to2d, to2d, to4d, to4d, to4d, x, x, x, y, y, y, z, z, z |
Constructor Detail |
---|
public IBoid()
public IBoid(IVecI pt)
public IBoid(IVec pt)
public IBoid(IVecI pt, IVecI vel)
public IBoid(IVec pt, IVec vel)
public IBoid(double x, double y, double z)
public IBoid(double x, double y, double z, double vx, double vy, double vz)
public IBoid(IBoid b)
public IBoid(IGeometry... geometries)
public IBoid(IVecI geometryOrigin, IGeometry... geometries)
public IBoid(IVecI geometryOrigin, IVecI geometryOrientation, IGeometry... geometries)
Method Detail |
---|
public IBoidGeo boid()
public double cohDist()
cohDist
in interface IBoidI
public double cohesionDist()
cohesionDist
in interface IBoidI
public IBoid cohDist(double dist)
cohDist
in interface IBoidI
public IBoid cohesionDist(double dist)
cohesionDist
in interface IBoidI
public double cohRatio()
cohRatio
in interface IBoidI
public double cohesionRatio()
cohesionRatio
in interface IBoidI
public IBoid cohRatio(double ratio)
cohRatio
in interface IBoidI
public IBoid cohesionRatio(double ratio)
cohesionRatio
in interface IBoidI
public double cohLimit()
cohLimit
in interface IBoidI
public double cohesionLimit()
cohesionLimit
in interface IBoidI
public IBoid cohLimit(double limit)
cohLimit
in interface IBoidI
public IBoid cohesionLimit(double limit)
cohesionLimit
in interface IBoidI
public IBoid coh(double ratio, double dist)
coh
in interface IBoidI
public IBoid cohesion(double ratio, double dist)
cohesion
in interface IBoidI
public double sepDist()
sepDist
in interface IBoidI
public double separationDist()
separationDist
in interface IBoidI
public IBoid sepDist(double dist)
sepDist
in interface IBoidI
public IBoid separationDist(double dist)
separationDist
in interface IBoidI
public double sepRatio()
sepRatio
in interface IBoidI
public double separationRatio()
separationRatio
in interface IBoidI
public IBoid sepRatio(double ratio)
sepRatio
in interface IBoidI
public IBoid separationRatio(double ratio)
separationRatio
in interface IBoidI
public double sepLimit()
sepLimit
in interface IBoidI
public double separationLimit()
separationLimit
in interface IBoidI
public IBoid sepLimit(double limit)
sepLimit
in interface IBoidI
public IBoid separationLimit(double limit)
separationLimit
in interface IBoidI
public IBoid sep(double ratio, double dist)
sep
in interface IBoidI
public IBoid separation(double ratio, double dist)
separation
in interface IBoidI
public double aliDist()
aliDist
in interface IBoidI
public double alignmentDist()
alignmentDist
in interface IBoidI
public IBoid aliDist(double dist)
aliDist
in interface IBoidI
public IBoid alignmentDist(double dist)
alignmentDist
in interface IBoidI
public double aliRatio()
aliRatio
in interface IBoidI
public double alignmentRatio()
alignmentRatio
in interface IBoidI
public IBoid aliRatio(double ratio)
aliRatio
in interface IBoidI
public IBoid alignmentRatio(double ratio)
alignmentRatio
in interface IBoidI
public double aliLimit()
aliLimit
in interface IBoidI
public double alignmentLimit()
alignmentLimit
in interface IBoidI
public IBoid aliLimit(double limit)
aliLimit
in interface IBoidI
public IBoid alignmentLimit(double limit)
alignmentLimit
in interface IBoidI
public IBoid ali(double ratio, double dist)
ali
in interface IBoidI
public IBoid alignment(double ratio, double dist)
alignment
in interface IBoidI
public IBoid parameter(double cohRatio, double cohDist, double sepRatio, double sepDist, double aliRatio, double aliDist)
parameter
in interface IBoidI
public IBoid param(double cohRatio, double cohDist, double sepRatio, double sepDist, double aliRatio, double aliDist)
param
in interface IBoidI
public IBoid fix()
fix
in interface IParticleI
fix
in class IParticle
public IBoid unfix()
IParticleI
unfix
in interface IParticleI
unfix
in class IParticle
public IBoid skipUpdateOnce(boolean f)
IParticle
skipUpdateOnce
in interface IParticleI
skipUpdateOnce
in class IParticle
public IBoid mass(double mass)
IParticleI
mass
in interface IParticleI
mass
in class IParticle
public IBoid position(IVecI v)
IParticleI
position
in interface IParticleI
position
in class IParticle
public IBoid pos(IVecI v)
IParticleI
pos
in interface IParticleI
pos
in class IParticle
public IBoid velocity(IVecI v)
IParticleI
velocity
in interface IParticleI
velocity
in class IParticle
public IBoid vel(IVecI v)
IParticleI
vel
in interface IParticleI
vel
in class IParticle
public IBoid force(IVecI v)
IParticleI
force
in interface IParticleI
force
in class IParticle
public IBoid frc(IVecI v)
IParticleI
frc
in interface IParticleI
frc
in class IParticle
public IBoid friction(double friction)
IParticleI
friction
in interface IParticleI
friction
in class IParticle
public IBoid fric(double friction)
IParticleI
fric
in interface IParticleI
fric
in class IParticle
public IBoid decay(double d)
decay
in interface IParticleI
decay
in class IParticle
public IBoid push(IVecI f)
IParticleI
push
in interface IParticleI
push
in class IParticle
public IBoid push(double fx, double fy, double fz)
IParticleI
push
in interface IParticleI
push
in class IParticle
public IBoid pull(IVecI f)
IParticleI
pull
in interface IParticleI
pull
in class IParticle
public IBoid pull(double fx, double fy, double fz)
IParticleI
pull
in interface IParticleI
pull
in class IParticle
public IBoid addForce(IVecI f)
IParticleI
addForce
in interface IParticleI
addForce
in class IParticle
public IBoid addForce(double fx, double fy, double fz)
IParticleI
addForce
in interface IParticleI
addForce
in class IParticle
public IBoid reset()
IParticleI
reset
in interface IParticleI
reset
in class IParticle
public IBoid resetForce()
IParticleI
resetForce
in interface IParticleI
resetForce
in class IParticle
public IBoid attach(IGeometry... geometries)
attach
in class IParticle
geometries
- one or more geometry objects. object's center is moved to the agent's location.public IBoid attach(IVecI geometryOrigin, IGeometry... geometries)
attach
in class IParticle
geometryOrigin
- origin of geometry object which is moved to the agent's location.geometries
- one or more geometry objects.public IBoid attach(IVecI geometryOrigin, IVecI geometryOrientation, IGeometry... geometries)
attach
in class IParticle
geometryOrigin
- origin of geometry object which is moved to the agent's location.geometryOrientation
- original orientation of geometry which is matched with particle's velocity direction; if its's null, orientatin matching is disabled.geometries
- one or more geometry objects.public IBoid targetClass(java.lang.Class<? extends IBoidI> targetClass)
public IBoid target(java.lang.Class<? extends IBoidI> targetClass)
public IBoid targetClass(java.lang.Class<? extends IBoidI>... targets)
public IBoid target(java.lang.Class<? extends IBoidI>... targets)
public boolean isTargetClass(java.lang.Object obj)
public boolean isTarget(java.lang.Object obj)
public IBoid x(double vx)
x
in interface IVecI
x
in class IParticle
public IBoid y(double vy)
IVecI
y
in interface IVecI
y
in class IParticle
public IBoid z(double vz)
IVecI
z
in interface IVecI
z
in class IParticle
public IBoid x(IDoubleI vx)
IVecI
x
in interface IVecI
x
in class IParticle
public IBoid y(IDoubleI vy)
IVecI
y
in interface IVecI
y
in class IParticle
public IBoid z(IDoubleI vz)
IVecI
z
in interface IVecI
z
in class IParticle
public IBoid dup()
IObject
dup
in interface ITransformable
dup
in interface IVecI
dup
in class IParticle
public IBoid set(IVecI v)
set
in interface IVecI
set
in class IParticle
public IBoid set(double x, double y, double z)
set
in interface IVecI
set
in class IParticle
public IBoid set(IDoubleI x, IDoubleI y, IDoubleI z)
set
in interface IVecI
set
in class IParticle
public IBoid add(double x, double y, double z)
add
in interface ITransformable
add
in interface IVecI
add
in class IParticle
public IBoid add(IDoubleI x, IDoubleI y, IDoubleI z)
add
in interface ITransformable
add
in interface IVecI
add
in class IParticle
public IBoid add(IVecI v)
add
in interface ITransformable
add
in interface IVecI
add
in class IParticle
public IBoid sub(double x, double y, double z)
sub
in interface ITransformable
sub
in interface IVecI
sub
in class IParticle
public IBoid sub(IDoubleI x, IDoubleI y, IDoubleI z)
sub
in interface ITransformable
sub
in interface IVecI
sub
in class IParticle
public IBoid sub(IVecI v)
sub
in interface ITransformable
sub
in interface IVecI
sub
in class IParticle
public IBoid mul(IDoubleI v)
mul
in interface ITransformable
mul
in interface IVecI
mul
in class IParticle
public IBoid mul(double v)
mul
in interface ITransformable
mul
in interface IVecI
mul
in class IParticle
public IBoid div(IDoubleI v)
div
in interface ITransformable
div
in interface IVecI
div
in class IParticle
public IBoid div(double v)
div
in interface ITransformable
div
in interface IVecI
div
in class IParticle
public IBoid neg()
neg
in interface ITransformable
neg
in interface IVecI
neg
in class IParticle
public IBoid rev()
IVecI
rev
in interface IVecI
rev
in class IParticle
public IBoid flip()
IVecI
flip
in interface ITransformable
flip
in interface IVecI
flip
in class IParticle
public IBoid zero()
IVecI
zero
in interface IVecI
zero
in class IParticle
public IBoid add(IVecI v, double f)
IVecI
add
in interface ITransformable
add
in interface IVecI
add
in class IParticle
public IBoid add(IVecI v, IDoubleI f)
IVecI
add
in interface ITransformable
add
in interface IVecI
add
in class IParticle
public IBoid add(double f, IVecI v)
IVecI
add
in interface ITransformable
add
in interface IVecI
add
in class IParticle
public IBoid add(IDoubleI f, IVecI v)
IVecI
add
in interface ITransformable
add
in interface IVecI
add
in class IParticle
public IBoid len(IDoubleI l)
IVecI
len
in interface IVecI
len
in class IParticle
public IBoid len(double l)
IVecI
len
in interface IVecI
len
in class IParticle
public IBoid unit()
IVecI
unit
in interface IVecI
unit
in class IParticle
public IBoid rot(IDoubleI angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
rot
in class IParticle
public IBoid rot(double angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
rot
in class IParticle
public IBoid rot(IVecI axis, IDoubleI angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
rot
in class IParticle
public IBoid rot(IVecI axis, double angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
rot
in class IParticle
public IBoid rot(double axisX, double axisY, double axisZ, double angle)
IVecI
rot
in interface IVecI
rot
in class IParticle
public IBoid rot(IVecI center, IVecI axis, double angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
rot
in class IParticle
public IBoid rot(IVecI center, IVecI axis, IDoubleI angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
rot
in class IParticle
public IBoid rot(double centerX, double centerY, double centerZ, double axisX, double axisY, double axisZ, double angle)
IVecI
rot
in interface IVecI
rot
in class IParticle
public IBoid rot(IVecI axis, IVecI destDir)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
rot
in class IParticle
public IBoid rot(IVecI center, IVecI axis, IVecI destPt)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
rot
in class IParticle
public IBoid rot2(double angle)
rot2
in interface ITransformable
rot2
in interface IVecI
rot2
in class IParticle
public IBoid rot2(IDoubleI angle)
rot2
in interface ITransformable
rot2
in interface IVecI
rot2
in class IParticle
public IBoid rot2(IVecI center, double angle)
rot2
in interface ITransformable
rot2
in interface IVecI
rot2
in class IParticle
public IBoid rot2(IVecI center, IDoubleI angle)
rot2
in interface ITransformable
rot2
in interface IVecI
rot2
in class IParticle
public IBoid rot2(double centerX, double centerY, double angle)
rot2
in interface IVecI
rot2
in class IParticle
public IBoid rot2(IVecI destDir)
rot2
in interface ITransformable
rot2
in interface IVecI
rot2
in class IParticle
public IBoid rot2(IVecI center, IVecI destPt)
rot2
in interface ITransformable
rot2
in interface IVecI
rot2
in class IParticle
public IBoid scale(IDoubleI f)
IVecI
scale
in interface ITransformable
scale
in interface IVecI
scale
in class IParticle
public IBoid scale(double f)
IVecI
scale
in interface ITransformable
scale
in interface IVecI
scale
in class IParticle
public IBoid scale(IVecI center, IDoubleI f)
IVecI
scale
in interface ITransformable
scale
in interface IVecI
scale
in class IParticle
public IBoid scale(IVecI center, double f)
IVecI
scale
in interface ITransformable
scale
in interface IVecI
scale
in class IParticle
public IBoid scale(double centerX, double centerY, double centerZ, double f)
IVecI
scale
in interface IVecI
scale
in class IParticle
public IBoid scale1d(IVecI axis, double f)
scale1d
in interface ITransformable
scale1d
in interface IVecI
scale1d
in class IParticle
public IBoid scale1d(IVecI axis, IDoubleI f)
IVecI
scale1d
in interface ITransformable
scale1d
in interface IVecI
scale1d
in class IParticle
public IBoid scale1d(double axisX, double axisY, double axisZ, double f)
IVecI
scale1d
in interface IVecI
scale1d
in class IParticle
public IBoid scale1d(IVecI center, IVecI axis, double f)
IVecI
scale1d
in interface ITransformable
scale1d
in interface IVecI
scale1d
in class IParticle
public IBoid scale1d(IVecI center, IVecI axis, IDoubleI f)
IVecI
scale1d
in interface ITransformable
scale1d
in interface IVecI
scale1d
in class IParticle
public IBoid scale1d(double centerX, double centerY, double centerZ, double axisX, double axisY, double axisZ, double f)
IVecI
scale1d
in interface IVecI
scale1d
in class IParticle
public IBoid ref(IVecI planeDir)
IVecI
ref
in interface ITransformable
ref
in interface IVecI
ref
in class IParticle
public IBoid ref(double planeX, double planeY, double planeZ)
IVecI
ref
in interface IVecI
ref
in class IParticle
public IBoid ref(IVecI center, IVecI planeDir)
IVecI
ref
in interface ITransformable
ref
in interface IVecI
ref
in class IParticle
public IBoid ref(double centerX, double centerY, double centerZ, double planeX, double planeY, double planeZ)
IVecI
ref
in interface IVecI
ref
in class IParticle
public IBoid mirror(IVecI planeDir)
IVecI
mirror
in interface ITransformable
mirror
in interface IVecI
mirror
in class IParticle
public IBoid mirror(double planeX, double planeY, double planeZ)
IVecI
mirror
in interface IVecI
mirror
in class IParticle
public IBoid mirror(IVecI center, IVecI planeDir)
IVecI
mirror
in interface ITransformable
mirror
in interface IVecI
mirror
in class IParticle
public IBoid mirror(double centerX, double centerY, double centerZ, double planeX, double planeY, double planeZ)
IVecI
mirror
in interface IVecI
mirror
in class IParticle
public IBoid shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
IVecI
shear
in interface ITransformable
shear
in interface IVecI
shear
in class IParticle
public IBoid shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
IVecI
shear
in interface ITransformable
shear
in interface IVecI
shear
in class IParticle
public IBoid shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
IVecI
shear
in interface ITransformable
shear
in interface IVecI
shear
in class IParticle
public IBoid shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
IVecI
shear
in interface ITransformable
shear
in interface IVecI
shear
in class IParticle
public IBoid shearXY(double sxy, double syx)
IVecI
shearXY
in interface ITransformable
shearXY
in interface IVecI
shearXY
in class IParticle
public IBoid shearXY(IDoubleI sxy, IDoubleI syx)
IVecI
shearXY
in interface ITransformable
shearXY
in interface IVecI
shearXY
in class IParticle
public IBoid shearXY(IVecI center, double sxy, double syx)
IVecI
shearXY
in interface ITransformable
shearXY
in interface IVecI
shearXY
in class IParticle
public IBoid shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
IVecI
shearXY
in interface ITransformable
shearXY
in interface IVecI
shearXY
in class IParticle
public IBoid shearYZ(double syz, double szy)
IVecI
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
shearYZ
in class IParticle
public IBoid shearYZ(IDoubleI syz, IDoubleI szy)
IVecI
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
shearYZ
in class IParticle
public IBoid shearYZ(IVecI center, double syz, double szy)
IVecI
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
shearYZ
in class IParticle
public IBoid shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
IVecI
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
shearYZ
in class IParticle
public IBoid shearZX(double szx, double sxz)
IVecI
shearZX
in interface ITransformable
shearZX
in interface IVecI
shearZX
in class IParticle
public IBoid shearZX(IDoubleI szx, IDoubleI sxz)
IVecI
shearZX
in interface ITransformable
shearZX
in interface IVecI
shearZX
in class IParticle
public IBoid shearZX(IVecI center, double szx, double sxz)
IVecI
shearZX
in interface ITransformable
shearZX
in interface IVecI
shearZX
in class IParticle
public IBoid shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
IVecI
shearZX
in interface ITransformable
shearZX
in interface IVecI
shearZX
in class IParticle
public IBoid translate(double x, double y, double z)
IVecI
translate
in interface ITransformable
translate
in interface IVecI
translate
in class IParticle
public IBoid translate(IDoubleI x, IDoubleI y, IDoubleI z)
IVecI
translate
in interface ITransformable
translate
in interface IVecI
translate
in class IParticle
public IBoid translate(IVecI v)
IVecI
translate
in interface ITransformable
translate
in interface IVecI
translate
in class IParticle
public IBoid transform(IMatrix3I mat)
IVecI
transform
in interface ITransformable
transform
in interface IVecI
transform
in class IParticle
public IBoid transform(IMatrix4I mat)
IVecI
transform
in interface ITransformable
transform
in interface IVecI
transform
in class IParticle
public IBoid transform(IVecI xvec, IVecI yvec, IVecI zvec)
IVecI
transform
in interface ITransformable
transform
in interface IVecI
transform
in class IParticle
public IBoid transform(IVecI xvec, IVecI yvec, IVecI zvec, IVecI translate)
IVecI
transform
in interface ITransformable
transform
in interface IVecI
transform
in class IParticle
public IBoid mv(double x, double y, double z)
IVecI
mv
in interface ITransformable
mv
in interface IVecI
mv
in class IParticle
public IBoid mv(IDoubleI x, IDoubleI y, IDoubleI z)
IVecI
mv
in interface ITransformable
mv
in interface IVecI
mv
in class IParticle
public IBoid mv(IVecI v)
IVecI
mv
in interface ITransformable
mv
in interface IVecI
mv
in class IParticle
public IBoid cp()
IObject
cp
in interface ITransformable
cp
in interface IVecI
cp
in class IParticle
public IBoid cp(double x, double y, double z)
IVecI
cp
in interface ITransformable
cp
in interface IVecI
cp
in class IParticle
public IBoid cp(IDoubleI x, IDoubleI y, IDoubleI z)
IVecI
cp
in interface ITransformable
cp
in interface IVecI
cp
in class IParticle
public IBoid cp(IVecI v)
IVecI
cp
in interface ITransformable
cp
in interface IVecI
cp
in class IParticle
public IBoid setSize(double sz)
setSize
in class IParticle
public IBoid size(double sz)
size
in class IParticle
public IBoid name(java.lang.String nm)
name
in class IParticle
public IBoid layer(ILayer l)
IObject
layer
in class IParticle
public IBoid show()
show
in class IParticle
public IBoid hide()
hide
in class IParticle
public IBoid showPoint()
showPoint
in class IParticle
public IBoid hidePoint()
hidePoint
in class IParticle
public IBoid showGeometry()
IPointAgent
showGeometry
in class IParticle
public IBoid hideGeometry()
IPointAgent
hideGeometry
in class IParticle
public IBoid clr(IColor c)
clr
in class IParticle
public IBoid clr(IColor c, int alpha)
IObject
clr
in class IParticle
public IBoid clr(IColor c, float alpha)
IObject
clr
in class IParticle
public IBoid clr(IColor c, double alpha)
IObject
clr
in class IParticle
public IBoid clr(int gray)
clr
in class IParticle
public IBoid clr(float fgray)
clr
in class IParticle
public IBoid clr(double dgray)
clr
in class IParticle
public IBoid clr(int gray, int alpha)
clr
in class IParticle
public IBoid clr(float fgray, float falpha)
clr
in class IParticle
public IBoid clr(double dgray, double dalpha)
clr
in class IParticle
public IBoid clr(int r, int g, int b)
clr
in class IParticle
public IBoid clr(float fr, float fg, float fb)
clr
in class IParticle
public IBoid clr(double dr, double dg, double db)
clr
in class IParticle
public IBoid clr(int r, int g, int b, int a)
clr
in class IParticle
public IBoid clr(float fr, float fg, float fb, float fa)
clr
in class IParticle
public IBoid clr(double dr, double dg, double db, double da)
clr
in class IParticle
public IBoid hsb(float h, float s, float b, float a)
hsb
in class IParticle
public IBoid hsb(double h, double s, double b, double a)
hsb
in class IParticle
public IBoid hsb(float h, float s, float b)
hsb
in class IParticle
public IBoid hsb(double h, double s, double b)
hsb
in class IParticle
public IBoid setColor(IColor c)
setColor
in class IParticle
public IBoid setColor(IColor c, int alpha)
setColor
in class IParticle
public IBoid setColor(IColor c, float alpha)
setColor
in class IParticle
public IBoid setColor(IColor c, double alpha)
setColor
in class IParticle
public IBoid setColor(int gray)
setColor
in class IParticle
public IBoid setColor(float fgray)
setColor
in class IParticle
public IBoid setColor(double dgray)
setColor
in class IParticle
public IBoid setColor(int gray, int alpha)
setColor
in class IParticle
public IBoid setColor(float fgray, float falpha)
setColor
in class IParticle
public IBoid setColor(double dgray, double dalpha)
setColor
in class IParticle
public IBoid setColor(int r, int g, int b)
setColor
in class IParticle
public IBoid setColor(float fr, float fg, float fb)
setColor
in class IParticle
public IBoid setColor(double dr, double dg, double db)
setColor
in class IParticle
public IBoid setColor(int r, int g, int b, int a)
setColor
in class IParticle
public IBoid setColor(float fr, float fg, float fb, float fa)
setColor
in class IParticle
public IBoid setColor(double dr, double dg, double db, double da)
setColor
in class IParticle
public IBoid setHSBColor(float h, float s, float b, float a)
setHSBColor
in class IParticle
public IBoid setHSBColor(double h, double s, double b, double a)
setHSBColor
in class IParticle
public IBoid setHSBColor(float h, float s, float b)
setHSBColor
in class IParticle
public IBoid setHSBColor(double h, double s, double b)
setHSBColor
in class IParticle
public IBoid weight(double w)
weight
in class IParticle
public IBoid weight(float w)
weight
in class IParticle
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |