|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectigeo.IObject
igeo.IAgent
igeo.IPointAgent
public class IPointAgent
Class of an agent based on one point.
Field Summary | |
---|---|
IPoint |
point
|
IVec |
pos
|
IAgentTracker |
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 | |
---|---|
IPointAgent()
|
|
IPointAgent(double x,
double y,
double z)
|
|
IPointAgent(IGeometry... geometries)
|
|
IPointAgent(IPointAgent pa)
|
|
IPointAgent(IVec p)
|
|
IPointAgent(IVecI p)
|
|
IPointAgent(IVecI geometryOrigin,
IGeometry... geometries)
|
Method Summary | |
---|---|
IPointAgent |
add(double x,
double y,
double z)
|
IPointAgent |
add(double f,
IVecI v)
scale add |
IPointAgent |
add(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IPointAgent |
add(IDoubleI f,
IVecI v)
scale add |
IPointAgent |
add(IVecI v)
|
IPointAgent |
add(IVecI v,
double f)
scale add |
IPointAgent |
add(IVecI v,
IDoubleI f)
scale add |
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)
|
IPointAgent |
attach(IGeometry... geometries)
attach geometry object to agent to track its location. |
IPointAgent |
attach(IVecI geometryOrigin,
IGeometry... geometries)
attach geometry object to agent to track its location. |
IVec |
bisect(double vx,
double vy,
double vz)
create a new instance of bisector |
IVec |
bisect(IVecI v)
create a new instance of bisector |
IBrep |
brep()
returns first brep |
IBrep |
brep(int index)
returns n-th surface |
int |
brepNum()
returns brep num |
IBrep[] |
breps()
returns all contained breps |
IPointAgent |
clr(double dgray)
|
IPointAgent |
clr(double dgray,
double dalpha)
|
IPointAgent |
clr(double dr,
double dg,
double db)
|
IPointAgent |
clr(double dr,
double dg,
double db,
double da)
|
IPointAgent |
clr(float fgray)
|
IPointAgent |
clr(float fgray,
float falpha)
|
IPointAgent |
clr(float fr,
float fg,
float fb)
|
IPointAgent |
clr(float fr,
float fg,
float fb,
float fa)
|
IPointAgent |
clr(IColor c)
|
IPointAgent |
clr(IColor c,
double alpha)
to set color, with alpha value overwritten |
IPointAgent |
clr(IColor c,
float alpha)
to set color, with alpha value overwritten |
IPointAgent |
clr(IColor c,
int alpha)
to set color, with alpha value overwritten |
IPointAgent |
clr(int gray)
|
IPointAgent |
clr(int gray,
int alpha)
|
IPointAgent |
clr(int r,
int g,
int b)
|
IPointAgent |
clr(int r,
int g,
int b,
int a)
|
IPointAgent |
cp()
alias of dup() |
IPointAgent |
cp(double x,
double y,
double z)
cp() is alias of dup().add() |
IPointAgent |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z)
cp() is alias of dup().add() |
IPointAgent |
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 |
ICurve |
curve()
returns first curve |
ICurve |
curve(int index)
returns n-th curve |
int |
curveNum()
returns curve num |
ICurve[] |
curves()
returns all contained curves |
void |
del()
delete agent and stop it by removing it from dynamics server |
void |
del(boolean deleteGeometry)
stop agent with option of deleting/keeping the geometry the agent owns |
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 |
IPointAgent |
div(double v)
|
IPointAgent |
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 |
IPointAgent |
dup()
duplicate object |
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 |
IPointAgent |
flip()
alias of neg() |
IGeometry[] |
geometries()
returns all geometries |
IGeometry |
geometry()
returns first geomery |
IGeometry |
geometry(int i)
returns n-th geometry |
int |
geometryNum()
total number of geometries |
IVec |
get()
|
double |
getSize()
|
IDouble |
getX()
|
IDouble |
getY()
|
IDouble |
getZ()
|
IPointAgent |
hide()
|
IPointAgent |
hideGeometry()
hide attached geometry |
IPointAgent |
hidePoint()
|
IPointAgent |
hsb(double h,
double s,
double b)
|
IPointAgent |
hsb(double h,
double s,
double b,
double a)
|
IPointAgent |
hsb(float h,
float s,
float b)
|
IPointAgent |
hsb(float h,
float s,
float b,
float a)
|
boolean |
isValid()
checking parameters validity. |
IPointAgent |
layer(ILayer l)
Set layer by ILayer object |
double |
len()
getting length of the vector |
IPointAgent |
len(double l)
setting length |
IPointAgent |
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 |
IMesh |
mesh()
returns first mesh |
IMesh |
mesh(int index)
returns n-th surface |
IMesh[] |
meshes()
returns all contained meshes |
int |
meshNum()
returns mesh num |
IVec |
mid(double vx,
double vy,
double vz)
create a new instance of midpoint |
IVec |
mid(IVecI v)
create a new instance of midpoint |
IPointAgent |
mirror(double planeX,
double planeY,
double planeZ)
alias of ref |
IPointAgent |
mirror(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
alias of ref |
IPointAgent |
mirror(IVecI planeDir)
alias of ref |
IPointAgent |
mirror(IVecI center,
IVecI planeDir)
alias of ref |
IPointAgent |
mul(double v)
|
IPointAgent |
mul(IDoubleI v)
|
IPointAgent |
mv(double x,
double y,
double z)
mv() is alias of add() |
IPointAgent |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z)
mv() is alias of add() |
IPointAgent |
mv(IVecI v)
mv() is alias of add() |
IPointAgent |
name(java.lang.String nm)
methods of IObject |
IPointAgent |
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 |
IPoint |
point()
returns first point |
IPoint |
point(int index)
returns n-th point |
int |
pointNum()
returns point num |
IPoint[] |
points()
returns all contained points |
IVec |
pos()
|
IPointAgent |
pos(IVecI v)
|
IVec |
position()
|
IPointAgent |
position(IVecI v)
|
IPointAgent |
ref(double planeX,
double planeY,
double planeZ)
reflect(mirror) 3 dimensionally to the other side of the plane |
IPointAgent |
ref(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
reflect(mirror) 3 dimensionally to the other side of the plane |
IPointAgent |
ref(IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane |
IPointAgent |
ref(IVecI center,
IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane |
IPointAgent |
rev()
alias of neg() |
IPointAgent |
rot(double angle)
rotation on XY plane |
IPointAgent |
rot(double axisX,
double axisY,
double axisZ,
double angle)
rotation around axis vector |
IPointAgent |
rot(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double angle)
rotation around axis vector and center point |
IPointAgent |
rot(IDoubleI angle)
rotation on XY plane |
IPointAgent |
rot(IVecI axis,
double angle)
rotation around axis vector |
IPointAgent |
rot(IVecI axis,
IDoubleI angle)
rotation around axis vector |
IPointAgent |
rot(IVecI axis,
IVecI destDir)
rotate to destination direction vector |
IPointAgent |
rot(IVecI center,
IVecI axis,
double angle)
rotation around axis vector and center point |
IPointAgent |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
rotation around axis vector and center point |
IPointAgent |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotate to destination point location |
IPointAgent |
rot2(double angle)
rotation on xy-plane; alias of rot(double) |
IPointAgent |
rot2(double centerX,
double centerY,
double angle)
rotation on xy-plane |
IPointAgent |
rot2(IDoubleI angle)
rotation on xy-plane; alias of rot(IDoubleI) |
IPointAgent |
rot2(IVecI destDir)
rotation on xy-plane towards destDir |
IPointAgent |
rot2(IVecI center,
double angle)
rotation on xy-plane |
IPointAgent |
rot2(IVecI center,
IDoubleI angle)
rotation on xy-plane |
IPointAgent |
rot2(IVecI center,
IVecI destPt)
rotation on xy-plane towards destPt |
IPointAgent |
scale(double f)
alias of mul |
IPointAgent |
scale(double centerX,
double centerY,
double centerZ,
double f)
scale from a center |
IPointAgent |
scale(IDoubleI f)
alias of mul |
IPointAgent |
scale(IVecI center,
double f)
scale from a center |
IPointAgent |
scale(IVecI center,
IDoubleI f)
scale from a center |
IPointAgent |
scale1d(double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction |
IPointAgent |
scale1d(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction from a center |
IPointAgent |
scale1d(IVecI axis,
double f)
scale only in 1 direction |
IPointAgent |
scale1d(IVecI axis,
IDoubleI f)
scale only in 1 direction |
IPointAgent |
scale1d(IVecI center,
IVecI axis,
double f)
scale only in 1 direction from a center |
IPointAgent |
scale1d(IVecI center,
IVecI axis,
IDoubleI f)
scale only in 1 direction from a center |
IPointAgent |
set(double x,
double y,
double z)
|
IPointAgent |
set(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IPointAgent |
set(IVecI v)
|
IPointAgent |
setColor(double dgray)
|
IPointAgent |
setColor(double dgray,
double dalpha)
|
IPointAgent |
setColor(double dr,
double dg,
double db)
|
IPointAgent |
setColor(double dr,
double dg,
double db,
double da)
|
IPointAgent |
setColor(float fgray)
|
IPointAgent |
setColor(float fgray,
float falpha)
|
IPointAgent |
setColor(float fr,
float fg,
float fb)
|
IPointAgent |
setColor(float fr,
float fg,
float fb,
float fa)
|
IPointAgent |
setColor(IColor c)
|
IPointAgent |
setColor(IColor c,
double alpha)
|
IPointAgent |
setColor(IColor c,
float alpha)
|
IPointAgent |
setColor(IColor c,
int alpha)
|
IPointAgent |
setColor(int gray)
|
IPointAgent |
setColor(int gray,
int alpha)
|
IPointAgent |
setColor(int r,
int g,
int b)
|
IPointAgent |
setColor(int r,
int g,
int b,
int a)
|
IPointAgent |
setHSBColor(double h,
double s,
double b)
|
IPointAgent |
setHSBColor(double h,
double s,
double b,
double a)
|
IPointAgent |
setHSBColor(float h,
float s,
float b)
|
IPointAgent |
setHSBColor(float h,
float s,
float b,
float a)
|
IPointAgent |
setSize(double sz)
methods of IPoint |
IPointAgent |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation |
IPointAgent |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation |
IPointAgent |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation |
IPointAgent |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation |
IPointAgent |
shearXY(double sxy,
double syx)
shear operation on XY |
IPointAgent |
shearXY(IDoubleI sxy,
IDoubleI syx)
shear operation on XY |
IPointAgent |
shearXY(IVecI center,
double sxy,
double syx)
shear operation on XY |
IPointAgent |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
shear operation on XY |
IPointAgent |
shearYZ(double syz,
double szy)
shear operation on YZ |
IPointAgent |
shearYZ(IDoubleI syz,
IDoubleI szy)
shear operation on YZ |
IPointAgent |
shearYZ(IVecI center,
double syz,
double szy)
shear operation on YZ |
IPointAgent |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
shear operation on YZ |
IPointAgent |
shearZX(double szx,
double sxz)
shear operation on ZX |
IPointAgent |
shearZX(IDoubleI szx,
IDoubleI sxz)
shear operation on ZX |
IPointAgent |
shearZX(IVecI center,
double szx,
double sxz)
shear operation on ZX |
IPointAgent |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
shear operation on ZX |
IPointAgent |
show()
|
IPointAgent |
showGeometry()
show attached geometry |
IPointAgent |
showPoint()
|
double |
size()
|
IPointAgent |
size(double sz)
|
IPointAgent |
sub(double x,
double y,
double z)
|
IPointAgent |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IPointAgent |
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)
create a new instance of 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 |
ISurface |
surface()
returns first surface |
ISurface |
surface(int index)
returns n-th surface |
int |
surfaceNum()
returns surface num |
ISurface[] |
surfaces()
returns all contained surfaces |
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()
|
IPointAgent |
transform(IMatrix3I mat)
transform with a transformation matrix |
IPointAgent |
transform(IMatrix4I mat)
transform with a transformation matrix |
IPointAgent |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
transform with a transformation vectors |
IPointAgent |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
transform with a transformation vectors |
IPointAgent |
translate(double x,
double y,
double z)
alias of add() |
IPointAgent |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
alias of add() |
IPointAgent |
translate(IVecI v)
alias of add() |
IPointAgent |
unit()
unitize |
IPointAgent |
weight(double w)
|
IPointAgent |
weight(float w)
|
double |
x()
methods of IVecI |
IPointAgent |
x(double vx)
setting x component |
IPointAgent |
x(IDoubleI vx)
setting x component |
double |
x(ISwitchE e)
getting x component |
IDouble |
x(ISwitchR r)
getting x component |
double |
y()
getting y component |
IPointAgent |
y(double vy)
setting y component |
IPointAgent |
y(IDoubleI vy)
setting y component |
double |
y(ISwitchE e)
getting y component |
IDouble |
y(ISwitchR r)
getting y component |
double |
z()
getting z component |
IPointAgent |
z(double vz)
setting z component |
IPointAgent |
z(IDoubleI vz)
setting z component |
double |
z(ISwitchE e)
getting z component |
IDouble |
z(ISwitchR r)
getting z component |
IPointAgent |
zero()
setting all zero |
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, removeTarget, removeTarget, target, 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 |
Field Detail |
---|
public IVec pos
public IPoint point
public IAgentTracker tracker
Constructor Detail |
---|
public IPointAgent()
public IPointAgent(double x, double y, double z)
public IPointAgent(IVec p)
public IPointAgent(IVecI p)
public IPointAgent(IPointAgent pa)
public IPointAgent(IGeometry... geometries)
public IPointAgent(IVecI geometryOrigin, IGeometry... geometries)
Method Detail |
---|
public IVec position()
public IPointAgent position(IVecI v)
public IVec pos()
public IPointAgent pos(IVecI v)
public IPointAgent attach(IGeometry... geometries)
geometries
- one or more geometry objects. object's center is moved to the agent's location.public IPointAgent attach(IVecI geometryOrigin, IGeometry... geometries)
geometryOrigin
- origin of geometry object which is moved to the agent's location.geometries
- one or more geometry objects.public int geometryNum()
public IGeometry geometry()
public IGeometry geometry(int i)
public IGeometry[] geometries()
public IPoint[] points()
public IPoint point()
public IPoint point(int index)
public int pointNum()
public ICurve[] curves()
public ICurve curve()
public ICurve curve(int index)
public int curveNum()
public ISurface[] surfaces()
public ISurface surface()
public ISurface surface(int index)
public int surfaceNum()
public IBrep[] breps()
public IBrep brep()
public IBrep brep(int index)
public int brepNum()
public IMesh[] meshes()
public IMesh mesh()
public IMesh mesh(int index)
public int meshNum()
public double x()
x
in interface IVecI
public double y()
IVecI
y
in interface IVecI
public double z()
IVecI
z
in interface IVecI
public IPointAgent x(double vx)
IVecI
x
in interface IVecI
public IPointAgent y(double vy)
IVecI
y
in interface IVecI
public IPointAgent z(double vz)
IVecI
z
in interface IVecI
public IPointAgent x(IDoubleI vx)
IVecI
x
in interface IVecI
public IPointAgent y(IDoubleI vy)
IVecI
y
in interface IVecI
public IPointAgent z(IDoubleI vz)
IVecI
z
in interface IVecI
public double x(ISwitchE e)
IVecI
x
in interface IVecI
public double y(ISwitchE e)
IVecI
y
in interface IVecI
public double z(ISwitchE e)
IVecI
z
in interface IVecI
public IDouble x(ISwitchR r)
IVecI
x
in interface IVecI
public IDouble y(ISwitchR r)
IVecI
y
in interface IVecI
public IDouble z(ISwitchR r)
IVecI
z
in interface IVecI
public IVec get()
get
in interface IParameter
get
in interface IVecI
get
in interface IVecOp
public IPointAgent dup()
IObject
dup
in interface ITransformable
dup
in interface IVecI
dup
in class IObject
public IVec2 to2d()
to2d
in interface IVecI
public IVec2 to2d(IVecI projectionDir)
to2d
in interface IVecI
public IVec2 to2d(IVecI xaxis, IVecI yaxis)
to2d
in interface IVecI
public IVec2 to2d(IVecI xaxis, IVecI yaxis, IVecI origin)
to2d
in interface IVecI
public IVec4 to4d()
to4d
in interface IVecI
public IVec4 to4d(double w)
to4d
in interface IVecI
public IVec4 to4d(IDoubleI w)
to4d
in interface IVecI
public IDouble getX()
getX
in interface IVecI
public IDouble getY()
getY
in interface IVecI
public IDouble getZ()
getZ
in interface IVecI
public IPointAgent set(IVecI v)
set
in interface IVecI
public IPointAgent set(double x, double y, double z)
set
in interface IVecI
public IPointAgent set(IDoubleI x, IDoubleI y, IDoubleI z)
set
in interface IVecI
public IPointAgent add(double x, double y, double z)
add
in interface ITransformable
add
in interface IVecI
public IPointAgent add(IDoubleI x, IDoubleI y, IDoubleI z)
add
in interface ITransformable
add
in interface IVecI
public IPointAgent add(IVecI v)
add
in interface ITransformable
add
in interface IVecI
public IPointAgent sub(double x, double y, double z)
sub
in interface ITransformable
sub
in interface IVecI
public IPointAgent sub(IDoubleI x, IDoubleI y, IDoubleI z)
sub
in interface ITransformable
sub
in interface IVecI
public IPointAgent sub(IVecI v)
sub
in interface ITransformable
sub
in interface IVecI
public IPointAgent mul(IDoubleI v)
mul
in interface ITransformable
mul
in interface IVecI
public IPointAgent mul(double v)
mul
in interface ITransformable
mul
in interface IVecI
public IPointAgent div(IDoubleI v)
div
in interface ITransformable
div
in interface IVecI
public IPointAgent div(double v)
div
in interface ITransformable
div
in interface IVecI
public IPointAgent neg()
neg
in interface ITransformable
neg
in interface IVecI
public IPointAgent rev()
IVecI
rev
in interface IVecI
public IPointAgent flip()
IVecI
flip
in interface ITransformable
flip
in interface IVecI
public IPointAgent zero()
IVecI
zero
in interface IVecI
public IPointAgent add(IVecI v, double f)
IVecI
add
in interface ITransformable
add
in interface IVecI
public IPointAgent add(IVecI v, IDoubleI f)
IVecI
add
in interface ITransformable
add
in interface IVecI
public IPointAgent add(double f, IVecI v)
IVecI
add
in interface ITransformable
add
in interface IVecI
public IPointAgent add(IDoubleI f, IVecI v)
IVecI
add
in interface ITransformable
add
in interface IVecI
public double dot(IVecI v)
IVecI
dot
in interface IVecI
public double dot(double vx, double vy, double vz)
IVecI
dot
in interface IVecI
public double dot(ISwitchE e, IVecI v)
IVecI
dot
in interface IVecI
public IDouble dot(ISwitchR r, IVecI v)
IVecI
dot
in interface IVecI
public IVec cross(IVecI v)
IVecI
cross
in interface IVecI
public IVec cross(double vx, double vy, double vz)
IVecI
cross
in interface IVecI
public double len()
IVecI
len
in interface IVecI
public double len(ISwitchE e)
IVecI
len
in interface IVecI
public IDouble len(ISwitchR r)
IVecI
len
in interface IVecI
public double len2()
IVecI
len2
in interface IVecI
public double len2(ISwitchE e)
IVecI
len2
in interface IVecI
public IDouble len2(ISwitchR r)
IVecI
len2
in interface IVecI
public IPointAgent len(IDoubleI l)
IVecI
len
in interface IVecI
public IPointAgent len(double l)
IVecI
len
in interface IVecI
public IPointAgent unit()
IVecI
unit
in interface IVecI
public double dist(IVecI v)
IVecI
dist
in interface IVecI
public double dist(double vx, double vy, double vz)
IVecI
dist
in interface IVecI
public double dist(ISwitchE e, IVecI v)
IVecI
dist
in interface IVecI
public IDouble dist(ISwitchR r, IVecI v)
IVecI
dist
in interface IVecI
public double dist2(IVecI v)
IVecI
dist2
in interface IVecI
public double dist2(double vx, double vy, double vz)
IVecI
dist2
in interface IVecI
public double dist2(ISwitchE e, IVecI v)
IVecI
dist2
in interface IVecI
public IDouble dist2(ISwitchR r, IVecI v)
IVecI
dist2
in interface IVecI
public boolean eq(IVecI v)
IVecI
eq
in interface IVecI
public boolean eq(double vx, double vy, double vz)
IVecI
eq
in interface IVecI
public boolean eq(ISwitchE e, IVecI v)
IVecI
eq
in interface IVecI
public IBool eq(ISwitchR r, IVecI v)
IVecI
eq
in interface IVecI
public boolean eq(IVecI v, double tolerance)
IVecI
eq
in interface IVecI
public boolean eq(double vx, double vy, double vz, double tolerance)
IVecI
eq
in interface IVecI
public boolean eq(ISwitchE e, IVecI v, double tolerance)
IVecI
eq
in interface IVecI
public IBool eq(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecI
eq
in interface IVecI
public boolean eqX(IVecI v)
IVecI
eqX
in interface IVecI
public boolean eqY(IVecI v)
IVecI
eqY
in interface IVecI
public boolean eqZ(IVecI v)
IVecI
eqZ
in interface IVecI
public boolean eqX(double vx)
IVecI
eqX
in interface IVecI
public boolean eqY(double vy)
IVecI
eqY
in interface IVecI
public boolean eqZ(double vz)
IVecI
eqZ
in interface IVecI
public boolean eqX(ISwitchE e, IVecI v)
IVecI
eqX
in interface IVecI
public boolean eqY(ISwitchE e, IVecI v)
IVecI
eqY
in interface IVecI
public boolean eqZ(ISwitchE e, IVecI v)
IVecI
eqZ
in interface IVecI
public IBool eqX(ISwitchR r, IVecI v)
IVecI
eqX
in interface IVecI
public IBool eqY(ISwitchR r, IVecI v)
IVecI
eqY
in interface IVecI
public IBool eqZ(ISwitchR r, IVecI v)
IVecI
eqZ
in interface IVecI
public boolean eqX(IVecI v, double tolerance)
IVecI
eqX
in interface IVecI
public boolean eqY(IVecI v, double tolerance)
IVecI
eqY
in interface IVecI
public boolean eqZ(IVecI v, double tolerance)
IVecI
eqZ
in interface IVecI
public boolean eqX(double vx, double tolerance)
IVecI
eqX
in interface IVecI
public boolean eqY(double vy, double tolerance)
IVecI
eqY
in interface IVecI
public boolean eqZ(double vz, double tolerance)
IVecI
eqZ
in interface IVecI
public boolean eqX(ISwitchE e, IVecI v, double tolerance)
IVecI
eqX
in interface IVecI
public boolean eqY(ISwitchE e, IVecI v, double tolerance)
IVecI
eqY
in interface IVecI
public boolean eqZ(ISwitchE e, IVecI v, double tolerance)
IVecI
eqZ
in interface IVecI
public IBool eqX(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecI
eqX
in interface IVecI
public IBool eqY(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecI
eqY
in interface IVecI
public IBool eqZ(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecI
eqZ
in interface IVecI
public double angle(IVecI v)
IVecI
angle
in interface IVecI
public double angle(double vx, double vy, double vz)
IVecI
angle
in interface IVecI
public double angle(ISwitchE e, IVecI v)
IVecI
angle
in interface IVecI
public IDouble angle(ISwitchR r, IVecI v)
IVecI
angle
in interface IVecI
public double angle(IVecI v, IVecI axis)
angle
in interface IVecI
axis
- axis to determin sign of angle following right-handed screw rule.
public double angle(double vx, double vy, double vz, double axisX, double axisY, double axisZ)
angle
in interface IVecI
public double angle(ISwitchE e, IVecI v, IVecI axis)
angle
in interface IVecI
axis
- axis to determin sign of angle following right-handed screw rule.
public IDouble angle(ISwitchR r, IVecI v, IVecI axis)
angle
in interface IVecI
axis
- axis to determin sign of angle following right-handed screw rule.
public IPointAgent rot(IDoubleI angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
public IPointAgent rot(double angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
public IPointAgent rot(IVecI axis, IDoubleI angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
public IPointAgent rot(IVecI axis, double angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
public IPointAgent rot(double axisX, double axisY, double axisZ, double angle)
IVecI
rot
in interface IVecI
public IPointAgent rot(IVecI center, IVecI axis, double angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
public IPointAgent rot(IVecI center, IVecI axis, IDoubleI angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
public IPointAgent rot(double centerX, double centerY, double centerZ, double axisX, double axisY, double axisZ, double angle)
IVecI
rot
in interface IVecI
public IPointAgent rot(IVecI axis, IVecI destDir)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
public IPointAgent rot(IVecI center, IVecI axis, IVecI destPt)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
public IPointAgent rot2(IDoubleI angle)
IVecI
rot2
in interface ITransformable
rot2
in interface IVecI
public IPointAgent rot2(double angle)
IVecI
rot2
in interface ITransformable
rot2
in interface IVecI
public IPointAgent rot2(IVecI center, double angle)
IVecI
rot2
in interface ITransformable
rot2
in interface IVecI
public IPointAgent rot2(IVecI center, IDoubleI angle)
IVecI
rot2
in interface ITransformable
rot2
in interface IVecI
public IPointAgent rot2(double centerX, double centerY, double angle)
IVecI
rot2
in interface IVecI
public IPointAgent rot2(IVecI destDir)
IVecI
rot2
in interface ITransformable
rot2
in interface IVecI
public IPointAgent rot2(IVecI center, IVecI destPt)
IVecI
rot2
in interface ITransformable
rot2
in interface IVecI
public IPointAgent scale(IDoubleI f)
IVecI
scale
in interface ITransformable
scale
in interface IVecI
public IPointAgent scale(double f)
IVecI
scale
in interface ITransformable
scale
in interface IVecI
public IPointAgent scale(IVecI center, IDoubleI f)
IVecI
scale
in interface ITransformable
scale
in interface IVecI
public IPointAgent scale(IVecI center, double f)
IVecI
scale
in interface ITransformable
scale
in interface IVecI
public IPointAgent scale(double centerX, double centerY, double centerZ, double f)
IVecI
scale
in interface IVecI
public IPointAgent scale1d(IVecI axis, double f)
scale1d
in interface ITransformable
scale1d
in interface IVecI
public IPointAgent scale1d(IVecI axis, IDoubleI f)
IVecI
scale1d
in interface ITransformable
scale1d
in interface IVecI
public IPointAgent scale1d(double axisX, double axisY, double axisZ, double f)
IVecI
scale1d
in interface IVecI
public IPointAgent scale1d(IVecI center, IVecI axis, double f)
IVecI
scale1d
in interface ITransformable
scale1d
in interface IVecI
public IPointAgent scale1d(IVecI center, IVecI axis, IDoubleI f)
IVecI
scale1d
in interface ITransformable
scale1d
in interface IVecI
public IPointAgent scale1d(double centerX, double centerY, double centerZ, double axisX, double axisY, double axisZ, double f)
IVecI
scale1d
in interface IVecI
public IPointAgent ref(IVecI planeDir)
IVecI
ref
in interface ITransformable
ref
in interface IVecI
public IPointAgent ref(double planeX, double planeY, double planeZ)
IVecI
ref
in interface IVecI
public IPointAgent ref(IVecI center, IVecI planeDir)
IVecI
ref
in interface ITransformable
ref
in interface IVecI
public IPointAgent ref(double centerX, double centerY, double centerZ, double planeX, double planeY, double planeZ)
IVecI
ref
in interface IVecI
public IPointAgent mirror(IVecI planeDir)
IVecI
mirror
in interface ITransformable
mirror
in interface IVecI
public IPointAgent mirror(double planeX, double planeY, double planeZ)
IVecI
mirror
in interface IVecI
public IPointAgent mirror(IVecI center, IVecI planeDir)
IVecI
mirror
in interface ITransformable
mirror
in interface IVecI
public IPointAgent mirror(double centerX, double centerY, double centerZ, double planeX, double planeY, double planeZ)
IVecI
mirror
in interface IVecI
public IPointAgent shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
IVecI
shear
in interface ITransformable
shear
in interface IVecI
public IPointAgent shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
IVecI
shear
in interface ITransformable
shear
in interface IVecI
public IPointAgent shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
IVecI
shear
in interface ITransformable
shear
in interface IVecI
public IPointAgent shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
IVecI
shear
in interface ITransformable
shear
in interface IVecI
public IPointAgent shearXY(double sxy, double syx)
IVecI
shearXY
in interface ITransformable
shearXY
in interface IVecI
public IPointAgent shearXY(IDoubleI sxy, IDoubleI syx)
IVecI
shearXY
in interface ITransformable
shearXY
in interface IVecI
public IPointAgent shearXY(IVecI center, double sxy, double syx)
IVecI
shearXY
in interface ITransformable
shearXY
in interface IVecI
public IPointAgent shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
IVecI
shearXY
in interface ITransformable
shearXY
in interface IVecI
public IPointAgent shearYZ(double syz, double szy)
IVecI
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
public IPointAgent shearYZ(IDoubleI syz, IDoubleI szy)
IVecI
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
public IPointAgent shearYZ(IVecI center, double syz, double szy)
IVecI
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
public IPointAgent shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
IVecI
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
public IPointAgent shearZX(double szx, double sxz)
IVecI
shearZX
in interface ITransformable
shearZX
in interface IVecI
public IPointAgent shearZX(IDoubleI szx, IDoubleI sxz)
IVecI
shearZX
in interface ITransformable
shearZX
in interface IVecI
public IPointAgent shearZX(IVecI center, double szx, double sxz)
IVecI
shearZX
in interface ITransformable
shearZX
in interface IVecI
public IPointAgent shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
IVecI
shearZX
in interface ITransformable
shearZX
in interface IVecI
public IPointAgent translate(double x, double y, double z)
IVecI
translate
in interface ITransformable
translate
in interface IVecI
public IPointAgent translate(IDoubleI x, IDoubleI y, IDoubleI z)
IVecI
translate
in interface ITransformable
translate
in interface IVecI
public IPointAgent translate(IVecI v)
IVecI
translate
in interface ITransformable
translate
in interface IVecI
public IPointAgent transform(IMatrix3I mat)
IVecI
transform
in interface ITransformable
transform
in interface IVecI
public IPointAgent transform(IMatrix4I mat)
IVecI
transform
in interface ITransformable
transform
in interface IVecI
public IPointAgent transform(IVecI xvec, IVecI yvec, IVecI zvec)
IVecI
transform
in interface ITransformable
transform
in interface IVecI
public IPointAgent transform(IVecI xvec, IVecI yvec, IVecI zvec, IVecI translate)
IVecI
transform
in interface ITransformable
transform
in interface IVecI
public IPointAgent mv(double x, double y, double z)
IVecI
mv
in interface ITransformable
mv
in interface IVecI
public IPointAgent mv(IDoubleI x, IDoubleI y, IDoubleI z)
IVecI
mv
in interface ITransformable
mv
in interface IVecI
public IPointAgent mv(IVecI v)
IVecI
mv
in interface ITransformable
mv
in interface IVecI
public IPointAgent cp()
IObject
cp
in interface ITransformable
cp
in interface IVecI
cp
in class IObject
public IPointAgent cp(double x, double y, double z)
IVecI
cp
in interface ITransformable
cp
in interface IVecI
public IPointAgent cp(IDoubleI x, IDoubleI y, IDoubleI z)
IVecI
cp
in interface ITransformable
cp
in interface IVecI
public IPointAgent cp(IVecI v)
IVecI
cp
in interface ITransformable
cp
in interface IVecI
public IVec dif(IVecI v)
IVecI
dif
in interface IVecI
public IVec dif(double vx, double vy, double vz)
IVecI
dif
in interface IVecI
public IVec diff(IVecI v)
IVecI
diff
in interface IVecI
public IVec diff(double vx, double vy, double vz)
IVecI
diff
in interface IVecI
public IVec mid(IVecI v)
IVecI
mid
in interface IVecI
public IVec mid(double vx, double vy, double vz)
IVecI
mid
in interface IVecI
public IVec sum(IVecI v)
IVecI
sum
in interface IVecI
public IVec sum(double vx, double vy, double vz)
IVecI
sum
in interface IVecI
public IVec sum(IVecI... v)
IVecI
sum
in interface IVecI
public IVec bisect(IVecI v)
IVecI
bisect
in interface IVecI
public IVec bisect(double vx, double vy, double vz)
IVecI
bisect
in interface IVecI
public IVec sum(IVecI v2, double w1, double w2)
IVecI
sum
in interface IVecI
public IVec sum(IVecI v2, double w2)
IVecI
sum
in interface IVecI
public IVec sum(IVecI v2, IDoubleI w1, IDoubleI w2)
IVecI
sum
in interface IVecI
public IVec sum(IVecI v2, IDoubleI w2)
IVecI
sum
in interface IVecI
public IVec nml(IVecI v)
IVecI
nml
in interface IVecI
public IVec nml(double vx, double vy, double vz)
IVecI
nml
in interface IVecI
public IVec nml(IVecI pt1, IVecI pt2)
IVecI
nml
in interface IVecI
public IVec nml(double vx1, double vy1, double vz1, double vx2, double vy2, double vz2)
IVecI
nml
in interface IVecI
public boolean isValid()
IObject
isValid
in interface IVecI
isValid
in class IObject
public java.lang.String toString()
toString
in class java.lang.Object
public IPointAgent setSize(double sz)
public IPointAgent size(double sz)
public double getSize()
public double size()
public IPointAgent name(java.lang.String nm)
name
in class IAgent
public IPointAgent layer(ILayer l)
IObject
layer
in class IAgent
public IPointAgent show()
show
in class IAgent
public IPointAgent hide()
hide
in class IAgent
public IPointAgent showPoint()
public IPointAgent hidePoint()
public IPointAgent showGeometry()
public IPointAgent hideGeometry()
public void del()
IAgent
del
in class IAgent
public void del(boolean deleteGeometry)
del
in class IAgent
public IPointAgent clr(IColor c)
clr
in class IAgent
public IPointAgent clr(IColor c, int alpha)
IObject
clr
in class IAgent
public IPointAgent clr(IColor c, float alpha)
IObject
clr
in class IAgent
public IPointAgent clr(IColor c, double alpha)
IObject
clr
in class IAgent
public IPointAgent clr(int gray)
clr
in class IAgent
public IPointAgent clr(float fgray)
clr
in class IAgent
public IPointAgent clr(double dgray)
clr
in class IAgent
public IPointAgent clr(int gray, int alpha)
clr
in class IAgent
public IPointAgent clr(float fgray, float falpha)
clr
in class IAgent
public IPointAgent clr(double dgray, double dalpha)
clr
in class IAgent
public IPointAgent clr(int r, int g, int b)
clr
in class IAgent
public IPointAgent clr(float fr, float fg, float fb)
clr
in class IAgent
public IPointAgent clr(double dr, double dg, double db)
clr
in class IAgent
public IPointAgent clr(int r, int g, int b, int a)
clr
in class IAgent
public IPointAgent clr(float fr, float fg, float fb, float fa)
clr
in class IAgent
public IPointAgent clr(double dr, double dg, double db, double da)
clr
in class IAgent
public IPointAgent hsb(float h, float s, float b, float a)
hsb
in class IAgent
public IPointAgent hsb(double h, double s, double b, double a)
hsb
in class IAgent
public IPointAgent hsb(float h, float s, float b)
hsb
in class IAgent
public IPointAgent hsb(double h, double s, double b)
hsb
in class IAgent
public IPointAgent setColor(IColor c)
setColor
in class IAgent
public IPointAgent setColor(IColor c, int alpha)
setColor
in class IAgent
public IPointAgent setColor(IColor c, float alpha)
setColor
in class IAgent
public IPointAgent setColor(IColor c, double alpha)
setColor
in class IAgent
public IPointAgent setColor(int gray)
setColor
in class IAgent
public IPointAgent setColor(float fgray)
setColor
in class IAgent
public IPointAgent setColor(double dgray)
setColor
in class IAgent
public IPointAgent setColor(int gray, int alpha)
setColor
in class IAgent
public IPointAgent setColor(float fgray, float falpha)
setColor
in class IAgent
public IPointAgent setColor(double dgray, double dalpha)
setColor
in class IAgent
public IPointAgent setColor(int r, int g, int b)
setColor
in class IAgent
public IPointAgent setColor(float fr, float fg, float fb)
setColor
in class IAgent
public IPointAgent setColor(double dr, double dg, double db)
setColor
in class IAgent
public IPointAgent setColor(int r, int g, int b, int a)
setColor
in class IAgent
public IPointAgent setColor(float fr, float fg, float fb, float fa)
setColor
in class IAgent
public IPointAgent setColor(double dr, double dg, double db, double da)
setColor
in class IAgent
public IPointAgent setHSBColor(float h, float s, float b, float a)
setHSBColor
in class IAgent
public IPointAgent setHSBColor(double h, double s, double b, double a)
setHSBColor
in class IAgent
public IPointAgent setHSBColor(float h, float s, float b)
setHSBColor
in class IAgent
public IPointAgent setHSBColor(double h, double s, double b)
setHSBColor
in class IAgent
public IPointAgent weight(double w)
weight
in class IAgent
public IPointAgent weight(float w)
weight
in class IAgent
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |