public class IParticleGeo extends IDynamicsBase implements IParticleI, IVecI
| Modifier and Type | Field and Description |
|---|---|
(package private) static double |
defaultFriction |
boolean |
fixed |
IVec |
frc |
double |
friction |
double |
mass |
IVec |
pos |
boolean |
skipUpdateOnce
when other agent set locatin, this skips to update the position by the velocity
|
IVec |
vel |
parent, targets| Constructor and Description |
|---|
IParticleGeo() |
IParticleGeo(double x,
double y,
double z) |
IParticleGeo(double x,
double y,
double z,
double vx,
double vy,
double vz) |
IParticleGeo(double x,
double y,
double z,
double vx,
double vy,
double vz,
IObject parent) |
IParticleGeo(double x,
double y,
double z,
IObject parent) |
IParticleGeo(IParticleGeo ptcl) |
IParticleGeo(IParticleGeo ptcl,
IObject parent) |
IParticleGeo(IParticleGeo ptcl,
IVecI v) |
IParticleGeo(IParticleGeo ptcl,
IVecI v,
IObject parent) |
IParticleGeo(IPoint pt) |
IParticleGeo(IPoint pt,
IVecI v) |
IParticleGeo(IPointR pt) |
IParticleGeo(IPointR pt,
IVecI v) |
IParticleGeo(IVec pos) |
IParticleGeo(IVecI p) |
IParticleGeo(IVecI p,
IObject parent) |
IParticleGeo(IVecI p,
IVecI v) |
IParticleGeo(IVecI p,
IVecI v,
IObject parent) |
IParticleGeo(IVec pos,
IObject parent) |
IParticleGeo(IVec pos,
IVec vel) |
IParticleGeo(IVec pos,
IVec vel,
IObject parent) |
| Modifier and Type | Method and Description |
|---|---|
IVec |
acc()
get acceleration; acceleration is calculated from frc and mass
|
IVec |
acceleration()
get acceleration; acceleration is calculated from frc and mass
|
IParticleGeo |
add(double x,
double y,
double z) |
IParticleGeo |
add(double f,
IVecI v)
scale add
|
IParticleGeo |
add(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IParticleGeo |
add(IDoubleI f,
IVecI v)
scale add
|
IParticleGeo |
add(IVecI v) |
IParticleGeo |
add(IVecI v,
double f)
scale add
|
IParticleGeo |
add(IVecI v,
IDoubleI f)
scale add
|
IParticleGeo |
addForce(double fx,
double fy,
double fz)
adding force (alias of push)
|
IParticleGeo |
addForce(IVecI f)
adding force (alias of push)
|
double |
angle(double vx,
double vy,
double vz)
get angle between two vector from 0 to Pi
|
double |
angle(double vx,
double vy,
double vz,
double axisX,
double axisY,
double axisZ) |
double |
angle(ISwitchE e,
IVecI v)
get angle between two vector from 0 to Pi
|
double |
angle(ISwitchE e,
IVecI v,
IVecI axis) |
IDouble |
angle(ISwitchR r,
IVecI v)
get angle between two vector from 0 to Pi
|
IDouble |
angle(ISwitchR r,
IVecI v,
IVecI axis) |
double |
angle(IVecI v)
get angle between two vector from 0 to Pi
|
double |
angle(IVecI v,
IVecI axis) |
IVec |
bisect(double vx,
double vy,
double vz)
create a new instance of bisector
|
IVec |
bisect(IVecI v)
create a new instance of bisector
|
IParticleGeo |
cp()
cp() is alias of dup()
|
IParticleGeo |
cp(double x,
double y,
double z)
cp() is alias of dup().add()
|
IParticleGeo |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z)
cp() is alias of dup().add()
|
IParticleGeo |
cp(IVecI v)
cp() is alias of dup().add()
|
IVec |
cross(double vx,
double vy,
double vz)
cross product, creating a new instance
|
IVec |
cross(IVecI v)
cross product, creating a new instance
|
double |
decay() |
IParticleGeo |
decay(double d) |
IVec |
dif(double vx,
double vy,
double vz)
create a new instance of difference
|
IVec |
dif(IVecI v)
create a new instance of difference
|
IVec |
diff(double vx,
double vy,
double vz)
alias of dif
|
IVec |
diff(IVecI v)
alias of dif
|
double |
dist(double vx,
double vy,
double vz)
distance of two vectors
|
double |
dist(ISwitchE e,
IVecI v)
distance of two vectors
|
IDouble |
dist(ISwitchR r,
IVecI v)
distance of two vectors
|
double |
dist(IVecI v)
distance of two vectors
|
double |
dist2(double vx,
double vy,
double vz)
squared distance of two vectors
|
double |
dist2(ISwitchE e,
IVecI v)
squared distance of two vectors
|
IDouble |
dist2(ISwitchR r,
IVecI v)
squared distance of two vectors
|
double |
dist2(IVecI v)
squared distance of two vectors
|
IParticleGeo |
div(double v) |
IParticleGeo |
div(IDoubleI v) |
double |
dot(double vx,
double vy,
double vz)
dot product
|
double |
dot(ISwitchE e,
IVecI v)
dot product
|
IDouble |
dot(ISwitchR r,
IVecI v)
dot product
|
double |
dot(IVecI v)
dot product
|
IParticleGeo |
dup()
duplicate the instance
|
boolean |
eq(double vx,
double vy,
double vz)
check whether location is same or not
|
boolean |
eq(double vx,
double vy,
double vz,
double tolerance)
check whether location is same or not with tolerance
|
boolean |
eq(ISwitchE e,
IVecI v)
check whether location is same or not
|
boolean |
eq(ISwitchE e,
IVecI v,
double tolerance)
check whether location is same or not with tolerance
|
IBool |
eq(ISwitchR r,
IVecI v)
check whether location is same or not
|
IBool |
eq(ISwitchR r,
IVecI v,
IDoubleI tolerance)
check whether location is same or not with tolerance
|
boolean |
eq(IVecI v)
check whether location is same or not
|
boolean |
eq(IVecI v,
double tolerance)
check whether location is same or not with tolerance
|
boolean |
eqX(double vx)
check if same in X
|
boolean |
eqX(double vx,
double tolerance)
check if same in X with tolerance
|
boolean |
eqX(ISwitchE e,
IVecI v)
check if same in X
|
boolean |
eqX(ISwitchE e,
IVecI v,
double tolerance)
check if same in X with tolerance
|
IBool |
eqX(ISwitchR r,
IVecI v)
check if same in X
|
IBool |
eqX(ISwitchR r,
IVecI v,
IDoubleI tolerance)
check if same in X with tolerance
|
boolean |
eqX(IVecI v)
check if same in X
|
boolean |
eqX(IVecI v,
double tolerance)
check if same in X with tolerance
|
boolean |
eqY(double vy)
check if same in Y
|
boolean |
eqY(double vy,
double tolerance)
check if same in Y with tolerance
|
boolean |
eqY(ISwitchE e,
IVecI v)
check if same in Y
|
boolean |
eqY(ISwitchE e,
IVecI v,
double tolerance)
check if same in Y with tolerance
|
IBool |
eqY(ISwitchR r,
IVecI v)
check if same in Y
|
IBool |
eqY(ISwitchR r,
IVecI v,
IDoubleI tolerance)
check if same in Y with tolerance
|
boolean |
eqY(IVecI v)
check if same in Y
|
boolean |
eqY(IVecI v,
double tolerance)
check if same in Y with tolerance
|
boolean |
eqZ(double vz)
check if same in Z
|
boolean |
eqZ(double vz,
double tolerance)
check if same in Z with tolerance
|
boolean |
eqZ(ISwitchE e,
IVecI v)
check if same in Z
|
boolean |
eqZ(ISwitchE e,
IVecI v,
double tolerance)
check if same in Z with tolerance
|
IBool |
eqZ(ISwitchR r,
IVecI v)
check if same in Z
|
IBool |
eqZ(ISwitchR r,
IVecI v,
IDoubleI tolerance)
check if same in Z with tolerance
|
boolean |
eqZ(IVecI v)
check if same in Z
|
boolean |
eqZ(IVecI v,
double tolerance)
check if same in Z with tolerance
|
IParticleGeo |
fix()
fix movement
|
boolean |
fixed()
check if it's fixed
|
IParticleGeo |
flip()
alias of neg()
|
IVec |
force()
get force
|
IParticleGeo |
force(IVecI v)
set force
|
IVec |
frc()
get force
|
IParticleGeo |
frc(IVecI v)
set force
|
double |
fric()
get friction
|
IParticleGeo |
fric(double friction)
set friction
|
double |
friction()
get friction
|
IParticleGeo |
friction(double friction)
set friction
|
IVec |
get() |
IDouble |
getX() |
IDouble |
getY() |
IDouble |
getZ() |
void |
initParticle() |
void |
initParticle(IVec v) |
void |
initParticle(IVecI v) |
boolean |
isValid()
checking x, y, and z is valid number (not Infinite, nor NaN).
|
double |
len()
getting length of the vector
|
IParticleGeo |
len(double l)
setting length
|
IParticleGeo |
len(IDoubleI l)
setting length
|
double |
len(ISwitchE e)
getting length of the vector
|
IDouble |
len(ISwitchR r)
getting length of the vector
|
double |
len2()
getting squared length of the vector
|
double |
len2(ISwitchE e)
getting squared length of the vector
|
IDouble |
len2(ISwitchR r)
getting squared length of the vector
|
double |
mass()
get mass
|
IParticleGeo |
mass(double mass)
set mass
|
IVec |
mid(double vx,
double vy,
double vz)
create a new instance of midpoint
|
IVec |
mid(IVecI v)
create a new instance of midpoint
|
IParticleGeo |
mirror(double planeX,
double planeY,
double planeZ)
reflect (mirror) 3 dimensionally to the other side of the plane
|
IParticleGeo |
mirror(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
reflect (mirror) 3 dimensionally to the other side of the plane
|
IParticleGeo |
mirror(IVecI planeDir)
reflect (mirror) 3 dimensionally to the other side of the plane
|
IParticleGeo |
mirror(IVecI center,
IVecI planeDir)
reflect (mirror) 3 dimensionally to the other side of the plane
|
IParticleGeo |
mul(double v) |
IParticleGeo |
mul(IDoubleI v) |
IParticleGeo |
mv(double x,
double y,
double z)
mv() is alias of add()
|
IParticleGeo |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z)
mv() is alias of add()
|
IParticleGeo |
mv(IVecI v)
mv() is alias of add()
|
IParticleGeo |
neg() |
IVec |
nml(double vx,
double vy,
double vz)
alias of cross
|
IVec |
nml(double vx1,
double vy1,
double vz1,
double vx2,
double vy2,
double vz2)
create normal vector from 3 points of self, pt1 and pt2
|
IVec |
nml(IVecI v)
alias of cross.
|
IVec |
nml(IVecI pt1,
IVecI pt2)
create normal vector from 3 points of self, pt1 and pt2
|
IVec |
pos()
get position
|
IParticleGeo |
pos(IVecI v)
set position
|
IVec |
position()
get position
|
IParticleGeo |
position(IVecI v)
set position
|
void |
postupdate()
this is changed again because force in update cannot be reflected (updated 2014/03/10)
|
void |
preupdate()
update of velocity is done in preupdate (updated 2012/08/26)
|
IParticleGeo |
pull(double fx,
double fy,
double fz)
adding negative force
|
IParticleGeo |
pull(IVecI f)
adding negative force
|
IParticleGeo |
push(double fx,
double fy,
double fz)
adding force
|
IParticleGeo |
push(IVecI f)
adding force
|
IParticleGeo |
ref(double planeX,
double planeY,
double planeZ)
reflect (mirror) 3 dimensionally to the other side of the plane
|
IParticleGeo |
ref(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
reflect (mirror) 3 dimensionally to the other side of the plane
|
IParticleGeo |
ref(IVecI planeDir)
reflect (mirror) 3 dimensionally to the other side of the plane
|
IParticleGeo |
ref(IVecI center,
IVecI planeDir)
reflect (mirror) 3 dimensionally to the other side of the plane
|
IParticleGeo |
removeTarget(int i)
remove target object.
|
IParticleGeo |
removeTarget(IObject obj)
remove target object.
|
IParticleGeo |
reset()
setting force zero
|
IParticleGeo |
resetForce()
setting force zero (alias of reset())
|
IParticleGeo |
rev()
alias of neg()
|
IParticleGeo |
rot(double angle)
rotation on XY plane
|
IParticleGeo |
rot(double axisX,
double axisY,
double axisZ,
double angle)
rotation around axis vector
|
IParticleGeo |
rot(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double angle)
rotation around axis vector and center point
|
IParticleGeo |
rot(IDoubleI angle)
rotation on XY plane
|
IParticleGeo |
rot(IVecI axis,
double angle)
rotation around axis vector
|
IParticleGeo |
rot(IVecI axis,
IDoubleI angle)
rotation around axis vector
|
IParticleGeo |
rot(IVecI axis,
IVecI destDir)
Rotate to destination direction vector.
|
IParticleGeo |
rot(IVecI center,
IVecI axis,
double angle)
rotation around axis vector and center point
|
IParticleGeo |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
rotation around axis vector and center point
|
IParticleGeo |
rot(IVecI center,
IVecI axis,
IVecI destPt)
Rotate to destination point location.
|
IParticleGeo |
rot2(double angle)
rotation on xy-plane; alias of rot(double)
|
IParticleGeo |
rot2(double centerX,
double centerY,
double angle)
rotation on xy-plane
|
IParticleGeo |
rot2(IDoubleI angle)
rotation on xy-plane; alias of rot(IDoubleI)
|
IParticleGeo |
rot2(IVecI destDir)
Rotation on xy-plane to destination direction vector.
|
IParticleGeo |
rot2(IVecI center,
double angle)
rotation on xy-plane
|
IParticleGeo |
rot2(IVecI center,
IDoubleI angle)
rotation on xy-plane
|
IParticleGeo |
rot2(IVecI center,
IVecI destPt)
Rotation on xy-plane to destination point location.
|
IParticleGeo |
scale(double f)
alias of mul
|
IParticleGeo |
scale(double centerX,
double centerY,
double centerZ,
double f)
scale from a center
|
IParticleGeo |
scale(IDoubleI f)
alias of mul
|
IParticleGeo |
scale(IVecI center,
double f)
scale from a center
|
IParticleGeo |
scale(IVecI center,
IDoubleI f)
scale from a center
|
IParticleGeo |
scale1d(double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction
|
IParticleGeo |
scale1d(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction from a center
|
IParticleGeo |
scale1d(IVecI axis,
double f)
scale only in 1 direction
|
IParticleGeo |
scale1d(IVecI axis,
IDoubleI f)
scale only in 1 direction
|
IParticleGeo |
scale1d(IVecI center,
IVecI axis,
double f)
scale only in 1 direction from a center
|
IParticleGeo |
scale1d(IVecI center,
IVecI axis,
IDoubleI f)
scale only in 1 direction from a center
|
IParticleGeo |
set(double x,
double y,
double z) |
IParticleGeo |
set(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IParticleGeo |
set(IVecI v) |
IParticleGeo |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation
|
IParticleGeo |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation
|
IParticleGeo |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation
|
IParticleGeo |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation
|
IParticleGeo |
shearXY(double sxy,
double syx)
shear operation on XY
|
IParticleGeo |
shearXY(IDoubleI sxy,
IDoubleI syx)
shear operation on XY
|
IParticleGeo |
shearXY(IVecI center,
double sxy,
double syx)
shear operation on XY
|
IParticleGeo |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
shear operation on XY
|
IParticleGeo |
shearYZ(double syz,
double szy)
shear operation on YZ
|
IParticleGeo |
shearYZ(IDoubleI syz,
IDoubleI szy)
shear operation on YZ
|
IParticleGeo |
shearYZ(IVecI center,
double syz,
double szy)
shear operation on YZ
|
IParticleGeo |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
shear operation on YZ
|
IParticleGeo |
shearZX(double szx,
double sxz)
shear operation on ZX
|
IParticleGeo |
shearZX(IDoubleI szx,
IDoubleI sxz)
shear operation on ZX
|
IParticleGeo |
shearZX(IVecI center,
double szx,
double sxz)
shear operation on ZX
|
IParticleGeo |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
shear operation on ZX
|
boolean |
skipUpdateOnce()
for other agent to control particle
|
IParticleGeo |
skipUpdateOnce(boolean f)
for other agent to control particle
|
IParticleGeo |
sub(double x,
double y,
double z) |
IParticleGeo |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IParticleGeo |
sub(IVecI v) |
IVec |
sum(double vx,
double vy,
double vz)
create a new instance of total summation
|
IVec |
sum(IVecI... v)
create a new instance of total summation
|
IVec |
sum(IVecI v)
create a new instance of total summation
|
IVec |
sum(IVecI v2,
double w2)
create a new instance of weighted sum
|
IVec |
sum(IVecI v2,
double w1,
double w2)
weighted sum.
|
IVec |
sum(IVecI v2,
IDoubleI w2)
create a new instance of weighted sum
|
IVec |
sum(IVecI v2,
IDoubleI w1,
IDoubleI w2)
create a new instance of weighted sum
|
IParticleGeo |
target(IObject targetObj)
add terget object to be updated by this dynamic object.
|
IVec2 |
to2d() |
IVec2 |
to2d(IVecI projectionDir) |
IVec2 |
to2d(IVecI xaxis,
IVecI yaxis) |
IVec2 |
to2d(IVecI xaxis,
IVecI yaxis,
IVecI origin) |
IVec4 |
to4d() |
IVec4 |
to4d(double w) |
IVec4 |
to4d(IDoubleI w) |
java.lang.String |
toString() |
IParticleGeo |
transform(IMatrix3I mat)
transform with a transformation matrix
|
IParticleGeo |
transform(IMatrix4I mat)
transform with a transformation matrix
|
IParticleGeo |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
transform with a transformation vectors
|
IParticleGeo |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
transform with a transformation vectors
|
IParticleGeo |
translate(double x,
double y,
double z)
translate is alias of add()
|
IParticleGeo |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
alias of add()
|
IParticleGeo |
translate(IVecI v)
alias of add()
|
IParticleGeo |
unfix()
unfix movement
|
IParticleGeo |
unit()
unitize
|
void |
update()
update of velocity is done in preupdate and update of position is done in update() (updated 2012/08/26)
|
IVec |
vel()
get velocity
|
IParticleGeo |
vel(IVecI v)
set velocity
|
IVec |
velocity()
get velocity
|
IParticleGeo |
velocity(IVecI v)
set velocity
|
double |
x()
implements of IVecI
|
IParticleGeo |
x(double vx)
setting x component
|
IParticleGeo |
x(IDoubleI vx)
setting x component
|
double |
x(ISwitchE e)
getting x component
|
IDoubleI |
x(ISwitchR r)
getting x component
|
IParticleGeo |
x(IVec2I v)
setting x component by x component of input vector
|
IParticleGeo |
x(IVecI v)
setting x component by x component of input vector
|
double |
y()
getting y component
|
IParticleGeo |
y(double vy)
setting y component
|
IParticleGeo |
y(IDoubleI vy)
setting y component
|
double |
y(ISwitchE e)
getting y component
|
IDoubleI |
y(ISwitchR r)
getting y component
|
IParticleGeo |
y(IVec2I v)
setting y component by y component of input vector
|
IParticleGeo |
y(IVecI v)
setting y component by y component of input vector
|
double |
z()
getting z component
|
IParticleGeo |
z(double vz)
setting z component
|
IParticleGeo |
z(IDoubleI vz)
setting z component
|
double |
z(ISwitchE e)
getting z component
|
IDoubleI |
z(ISwitchR r)
getting z component
|
IParticleGeo |
z(IVecI v)
setting z component by z component of input vector
|
IParticleGeo |
zero()
setting all zero
|
initDynamicsBase, initDynamicsBase, initDynamicsBase, interact, localDynamics, parent, parent, postinteract, preinteract, target, targetNum, targets, updateTargetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittarget, targetNum, targets, updateTargetstatic double defaultFriction
public double mass
public IVec pos
public IVec vel
public IVec frc
public boolean fixed
public double friction
public boolean skipUpdateOnce
public IParticleGeo()
public IParticleGeo(IVec pos)
public IParticleGeo(IVecI p)
public IParticleGeo(double x,
double y,
double z)
public IParticleGeo(double x,
double y,
double z,
IObject parent)
public IParticleGeo(IPoint pt)
public IParticleGeo(IPointR pt)
public IParticleGeo(IParticleGeo ptcl)
public IParticleGeo(IParticleGeo ptcl, IObject parent)
public IParticleGeo(double x,
double y,
double z,
double vx,
double vy,
double vz)
public IParticleGeo(double x,
double y,
double z,
double vx,
double vy,
double vz,
IObject parent)
public IParticleGeo(IParticleGeo ptcl, IVecI v)
public IParticleGeo(IParticleGeo ptcl, IVecI v, IObject parent)
public void initParticle()
public void initParticle(IVec v)
public void initParticle(IVecI v)
public IParticleGeo dup()
ITransformabledup in interface IArithmeticVal<IVecI,IDoubleI>dup in interface ITransformabledup in interface IVecIpublic IParticleGeo fix()
IParticleIfix in interface IParticleIpublic IParticleGeo unfix()
IParticleIunfix in interface IParticleIpublic boolean fixed()
fixed in interface IParticleIpublic IParticleGeo skipUpdateOnce(boolean f)
skipUpdateOnce in interface IParticleIpublic boolean skipUpdateOnce()
skipUpdateOnce in interface IParticleIpublic double mass()
IParticleImass in interface IParticleIpublic IParticleGeo mass(double mass)
IParticleImass in interface IParticleIpublic IVec position()
IParticleIposition in interface IParticleIpublic IParticleGeo position(IVecI v)
IParticleIposition in interface IParticleIpublic IVec pos()
IParticleIpos in interface IParticleIpublic IParticleGeo pos(IVecI v)
IParticleIpos in interface IParticleIpublic IVec velocity()
IParticleIvelocity in interface IParticleIpublic IParticleGeo velocity(IVecI v)
IParticleIvelocity in interface IParticleIpublic IVec vel()
IParticleIvel in interface IParticleIpublic IParticleGeo vel(IVecI v)
IParticleIvel in interface IParticleIpublic IVec acceleration()
acceleration in interface IParticleIpublic IVec acc()
acc in interface IParticleIpublic IVec force()
IParticleIforce in interface IParticleIpublic IParticleGeo force(IVecI v)
IParticleIforce in interface IParticleIpublic IVec frc()
IParticleIfrc in interface IParticleIpublic IParticleGeo frc(IVecI v)
IParticleIfrc in interface IParticleIpublic double friction()
IParticleIfriction in interface IParticleIpublic IParticleGeo friction(double friction)
IParticleIfriction in interface IParticleIpublic double fric()
IParticleIfric in interface IParticleIpublic IParticleGeo fric(double friction)
IParticleIfric in interface IParticleIpublic double decay()
decay in interface IParticleIpublic IParticleGeo decay(double d)
decay in interface IParticleIpublic IParticleGeo push(IVecI f)
push in interface IParticleIpublic IParticleGeo push(double fx, double fy, double fz)
push in interface IParticleIpublic IParticleGeo pull(IVecI f)
pull in interface IParticleIpublic IParticleGeo pull(double fx, double fy, double fz)
pull in interface IParticleIpublic IParticleGeo addForce(IVecI f)
addForce in interface IParticleIpublic IParticleGeo addForce(double fx, double fy, double fz)
addForce in interface IParticleIpublic IParticleGeo reset()
reset in interface IParticleIpublic IParticleGeo resetForce()
resetForce in interface IParticleIpublic void preupdate()
preupdate in interface IDynamicspreupdate in class IDynamicsBasepublic void update()
update in interface IDynamicsupdate in class IDynamicsBasepublic void postupdate()
postupdate in interface IDynamicspostupdate in class IDynamicsBasepublic double y()
IVecIpublic double z()
IVecIpublic IParticleGeo x(double vx)
IVecIpublic IParticleGeo y(double vy)
IVecIpublic IParticleGeo z(double vz)
IVecIpublic IParticleGeo x(IDoubleI vx)
IVecIpublic IParticleGeo y(IDoubleI vy)
IVecIpublic IParticleGeo z(IDoubleI vz)
IVecIpublic IParticleGeo x(IVecI v)
public IParticleGeo y(IVecI v)
public IParticleGeo z(IVecI v)
public IParticleGeo x(IVec2I v)
public IParticleGeo y(IVec2I v)
public IVec get()
public IParticleGeo set(IVecI v)
public IParticleGeo set(double x, double y, double z)
public IParticleGeo set(IDoubleI x, IDoubleI y, IDoubleI z)
public IParticleGeo add(double x, double y, double z)
add in interface ITransformableadd in interface IVecIpublic IParticleGeo add(IDoubleI x, IDoubleI y, IDoubleI z)
add in interface ITransformableadd in interface IVecIpublic IParticleGeo add(IVecI v)
add in interface IArithmeticVal<IVecI,IDoubleI>add in interface ITransformableadd in interface IVecIpublic IParticleGeo sub(double x, double y, double z)
sub in interface ITransformablesub in interface IVecIpublic IParticleGeo sub(IDoubleI x, IDoubleI y, IDoubleI z)
sub in interface ITransformablesub in interface IVecIpublic IParticleGeo sub(IVecI v)
sub in interface IArithmeticVal<IVecI,IDoubleI>sub in interface ITransformablesub in interface IVecIpublic IParticleGeo mul(IDoubleI v)
mul in interface IArithmeticVal<IVecI,IDoubleI>mul in interface ITransformablemul in interface IVecIpublic IParticleGeo mul(double v)
mul in interface ITransformablemul in interface IVecIpublic IParticleGeo div(IDoubleI v)
div in interface IArithmeticVal<IVecI,IDoubleI>div in interface ITransformablediv in interface IVecIpublic IParticleGeo div(double v)
div in interface ITransformablediv in interface IVecIpublic IParticleGeo neg()
neg in interface ITransformableneg in interface IVecIpublic IParticleGeo rev()
IVecIpublic IParticleGeo flip()
IVecIflip in interface ITransformableflip in interface IVecIpublic IParticleGeo zero()
IVecIpublic IParticleGeo add(IVecI v, double f)
IVecIadd in interface ITransformableadd in interface IVecIpublic IParticleGeo add(IVecI v, IDoubleI f)
IVecIadd in interface ITransformableadd in interface IVecIpublic IParticleGeo add(double f, IVecI v)
IVecIadd in interface ITransformableadd in interface IVecIpublic IParticleGeo add(IDoubleI f, IVecI v)
IVecIadd in interface ITransformableadd in interface IVecIpublic double dot(double vx,
double vy,
double vz)
IVecIpublic IVec cross(IVecI v)
IVecIpublic IVec cross(double vx, double vy, double vz)
IVecIpublic double len()
IVecIpublic double len(ISwitchE e)
IVecIpublic IDouble len(ISwitchR r)
IVecIpublic double len2()
IVecIpublic double len2(ISwitchE e)
IVecIpublic IDouble len2(ISwitchR r)
IVecIpublic IParticleGeo len(IDoubleI l)
IVecIpublic IParticleGeo len(double l)
IVecIpublic IParticleGeo unit()
IVecIpublic double dist(double vx,
double vy,
double vz)
IVecIpublic double dist(ISwitchE e, IVecI v)
IVecIpublic IDouble dist(ISwitchR r, IVecI v)
IVecIpublic double dist2(IVecI v)
IVecIpublic double dist2(double vx,
double vy,
double vz)
IVecIpublic double dist2(ISwitchE e, IVecI v)
IVecIpublic IDouble dist2(ISwitchR r, IVecI v)
IVecIpublic boolean eq(IVecI v)
IVecIpublic boolean eq(double vx,
double vy,
double vz)
IVecIpublic boolean eq(ISwitchE e, IVecI v)
IVecIpublic IBool eq(ISwitchR r, IVecI v)
IVecIpublic boolean eq(IVecI v, double tolerance)
IVecIpublic boolean eq(double vx,
double vy,
double vz,
double tolerance)
IVecIpublic boolean eq(ISwitchE e, IVecI v, double tolerance)
IVecIpublic IBool eq(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecIpublic boolean eqX(double vx)
IVecIpublic boolean eqY(double vy)
IVecIpublic boolean eqZ(double vz)
IVecIpublic boolean eqX(ISwitchE e, IVecI v)
IVecIpublic boolean eqY(ISwitchE e, IVecI v)
IVecIpublic boolean eqZ(ISwitchE e, IVecI v)
IVecIpublic IBool eqX(ISwitchR r, IVecI v)
IVecIpublic IBool eqY(ISwitchR r, IVecI v)
IVecIpublic IBool eqZ(ISwitchR r, IVecI v)
IVecIpublic boolean eqX(IVecI v, double tolerance)
IVecIpublic boolean eqY(IVecI v, double tolerance)
IVecIpublic boolean eqZ(IVecI v, double tolerance)
IVecIpublic boolean eqX(double vx,
double tolerance)
IVecIpublic boolean eqY(double vy,
double tolerance)
IVecIpublic boolean eqZ(double vz,
double tolerance)
IVecIpublic boolean eqX(ISwitchE e, IVecI v, double tolerance)
IVecIpublic boolean eqY(ISwitchE e, IVecI v, double tolerance)
IVecIpublic boolean eqZ(ISwitchE e, IVecI v, double tolerance)
IVecIpublic IBool eqX(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecIpublic IBool eqY(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecIpublic IBool eqZ(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecIpublic double angle(IVecI v)
IVecIpublic double angle(double vx,
double vy,
double vz)
IVecIpublic double angle(ISwitchE e, IVecI v)
IVecIpublic IDouble angle(ISwitchR r, IVecI v)
IVecIpublic double angle(double vx,
double vy,
double vz,
double axisX,
double axisY,
double axisZ)
public IParticleGeo rot(IDoubleI angle)
IVecIrot in interface ITransformablerot in interface IVecIpublic IParticleGeo rot(double angle)
IVecIrot in interface ITransformablerot in interface IVecIpublic IParticleGeo rot(IVecI axis, IDoubleI angle)
IVecIrot in interface ITransformablerot in interface IVecIpublic IParticleGeo rot(IVecI axis, double angle)
IVecIrot in interface ITransformablerot in interface IVecIpublic IParticleGeo rot(double axisX, double axisY, double axisZ, double angle)
IVecIpublic IParticleGeo rot(IVecI center, IVecI axis, double angle)
IVecIrot in interface ITransformablerot in interface IVecIpublic IParticleGeo rot(IVecI center, IVecI axis, IDoubleI angle)
IVecIrot in interface ITransformablerot in interface IVecIpublic IParticleGeo rot(double centerX, double centerY, double centerZ, double axisX, double axisY, double axisZ, double angle)
IVecIpublic IParticleGeo rot(IVecI axis, IVecI destDir)
rot in interface ITransformablerot in interface IVecIpublic IParticleGeo rot(IVecI center, IVecI axis, IVecI destPt)
rot in interface ITransformablerot in interface IVecIpublic IParticleGeo rot2(IDoubleI angle)
IVecIrot2 in interface ITransformablerot2 in interface IVecIpublic IParticleGeo rot2(double angle)
IVecIrot2 in interface ITransformablerot2 in interface IVecIpublic IParticleGeo rot2(IVecI center, double angle)
IVecIrot2 in interface ITransformablerot2 in interface IVecIpublic IParticleGeo rot2(IVecI center, IDoubleI angle)
IVecIrot2 in interface ITransformablerot2 in interface IVecIpublic IParticleGeo rot2(double centerX, double centerY, double angle)
IVecIpublic IParticleGeo rot2(IVecI destDir)
rot2 in interface ITransformablerot2 in interface IVecIpublic IParticleGeo rot2(IVecI center, IVecI destPt)
rot2 in interface ITransformablerot2 in interface IVecIpublic IParticleGeo scale(IDoubleI f)
scale in interface ITransformablescale in interface IVecIpublic IParticleGeo scale(double f)
scale in interface ITransformablescale in interface IVecIpublic IParticleGeo scale(IVecI center, IDoubleI f)
IVecIscale in interface ITransformablescale in interface IVecIpublic IParticleGeo scale(IVecI center, double f)
IVecIscale in interface ITransformablescale in interface IVecIpublic IParticleGeo scale(double centerX, double centerY, double centerZ, double f)
IVecIpublic IParticleGeo scale1d(IVecI axis, double f)
scale1d in interface ITransformablescale1d in interface IVecIpublic IParticleGeo scale1d(IVecI axis, IDoubleI f)
IVecIscale1d in interface ITransformablescale1d in interface IVecIpublic IParticleGeo scale1d(double axisX, double axisY, double axisZ, double f)
IVecIpublic IParticleGeo scale1d(IVecI center, IVecI axis, double f)
IVecIscale1d in interface ITransformablescale1d in interface IVecIpublic IParticleGeo scale1d(IVecI center, IVecI axis, IDoubleI f)
IVecIscale1d in interface ITransformablescale1d in interface IVecIpublic IParticleGeo scale1d(double centerX, double centerY, double centerZ, double axisX, double axisY, double axisZ, double f)
IVecIpublic IParticleGeo ref(IVecI planeDir)
ref in interface ITransformableref in interface IVecIpublic IParticleGeo ref(double planeX, double planeY, double planeZ)
public IParticleGeo ref(IVecI center, IVecI planeDir)
ref in interface ITransformableref in interface IVecIpublic IParticleGeo ref(double centerX, double centerY, double centerZ, double planeX, double planeY, double planeZ)
public IParticleGeo mirror(IVecI planeDir)
mirror in interface ITransformablemirror in interface IVecIpublic IParticleGeo mirror(double planeX, double planeY, double planeZ)
public IParticleGeo mirror(IVecI center, IVecI planeDir)
mirror in interface ITransformablemirror in interface IVecIpublic IParticleGeo mirror(double centerX, double centerY, double centerZ, double planeX, double planeY, double planeZ)
public IParticleGeo shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
shear in interface ITransformableshear in interface IVecIpublic IParticleGeo shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
IVecIshear in interface ITransformableshear in interface IVecIpublic IParticleGeo shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
IVecIshear in interface ITransformableshear in interface IVecIpublic IParticleGeo shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
IVecIshear in interface ITransformableshear in interface IVecIpublic IParticleGeo shearXY(double sxy, double syx)
IVecIshearXY in interface ITransformableshearXY in interface IVecIpublic IParticleGeo shearXY(IDoubleI sxy, IDoubleI syx)
IVecIshearXY in interface ITransformableshearXY in interface IVecIpublic IParticleGeo shearXY(IVecI center, double sxy, double syx)
IVecIshearXY in interface ITransformableshearXY in interface IVecIpublic IParticleGeo shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
IVecIshearXY in interface ITransformableshearXY in interface IVecIpublic IParticleGeo shearYZ(double syz, double szy)
IVecIshearYZ in interface ITransformableshearYZ in interface IVecIpublic IParticleGeo shearYZ(IDoubleI syz, IDoubleI szy)
IVecIshearYZ in interface ITransformableshearYZ in interface IVecIpublic IParticleGeo shearYZ(IVecI center, double syz, double szy)
IVecIshearYZ in interface ITransformableshearYZ in interface IVecIpublic IParticleGeo shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
IVecIshearYZ in interface ITransformableshearYZ in interface IVecIpublic IParticleGeo shearZX(double szx, double sxz)
IVecIshearZX in interface ITransformableshearZX in interface IVecIpublic IParticleGeo shearZX(IDoubleI szx, IDoubleI sxz)
IVecIshearZX in interface ITransformableshearZX in interface IVecIpublic IParticleGeo shearZX(IVecI center, double szx, double sxz)
IVecIshearZX in interface ITransformableshearZX in interface IVecIpublic IParticleGeo shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
IVecIshearZX in interface ITransformableshearZX in interface IVecIpublic IParticleGeo translate(double x, double y, double z)
translate in interface ITransformabletranslate in interface IVecIpublic IParticleGeo translate(IDoubleI x, IDoubleI y, IDoubleI z)
IVecItranslate in interface ITransformabletranslate in interface IVecIpublic IParticleGeo translate(IVecI v)
IVecItranslate in interface ITransformabletranslate in interface IVecIpublic IParticleGeo transform(IMatrix3I mat)
IVecItransform in interface ITransformabletransform in interface IVecIpublic IParticleGeo transform(IMatrix4I mat)
IVecItransform in interface ITransformabletransform in interface IVecIpublic IParticleGeo transform(IVecI xvec, IVecI yvec, IVecI zvec)
IVecItransform in interface ITransformabletransform in interface IVecIpublic IParticleGeo transform(IVecI xvec, IVecI yvec, IVecI zvec, IVecI translate)
IVecItransform in interface ITransformabletransform in interface IVecIpublic IParticleGeo mv(double x, double y, double z)
mv in interface ITransformablemv in interface IVecIpublic IParticleGeo mv(IDoubleI x, IDoubleI y, IDoubleI z)
IVecImv in interface ITransformablemv in interface IVecIpublic IParticleGeo mv(IVecI v)
IVecImv in interface ITransformablemv in interface IVecIpublic IParticleGeo cp()
cp in interface IArithmeticVal<IVecI,IDoubleI>cp in interface ITransformablecp in interface IVecIpublic IParticleGeo cp(double x, double y, double z)
cp in interface ITransformablecp in interface IVecIpublic IParticleGeo cp(IDoubleI x, IDoubleI y, IDoubleI z)
IVecIcp in interface ITransformablecp in interface IVecIpublic IParticleGeo cp(IVecI v)
IVecIcp in interface ITransformablecp in interface IVecIpublic IVec dif(IVecI v)
IVecIpublic IVec dif(double vx, double vy, double vz)
IVecIpublic IVec diff(double vx, double vy, double vz)
IVecIpublic IVec mid(IVecI v)
IVecIpublic IVec mid(double vx, double vy, double vz)
IVecIpublic IVec sum(IVecI v)
IVecIpublic IVec sum(double vx, double vy, double vz)
IVecIpublic IVec sum(IVecI... v)
IVecIpublic IVec bisect(IVecI v)
IVecIpublic IVec bisect(double vx, double vy, double vz)
IVecIpublic IVec sum(IVecI v2, double w2)
IVecIpublic IVec sum(IVecI v2, IDoubleI w1, IDoubleI w2)
IVecIpublic IVec sum(IVecI v2, IDoubleI w2)
IVecIpublic IVec nml(double vx, double vy, double vz)
IVecIpublic IVec nml(double vx1, double vy1, double vz1, double vx2, double vy2, double vz2)
IVecIpublic boolean isValid()
public java.lang.String toString()
toString in class java.lang.Objectpublic IParticleGeo target(IObject targetObj)
target in interface IDynamicstarget in interface IParticleItarget in class IDynamicsBasepublic IParticleGeo removeTarget(int i)
removeTarget in interface IDynamicsremoveTarget in interface IParticleIremoveTarget in class IDynamicsBasepublic IParticleGeo removeTarget(IObject obj)
removeTarget in interface IDynamicsremoveTarget in interface IParticleIremoveTarget in class IDynamicsBase