public class IVectorObject extends IObject implements IVecI
Constructor and Description |
---|
IVectorObject(IServerI s,
IVecI vec) |
IVectorObject(IServerI s,
IVecI vec,
IVecI root) |
IVectorObject(IServerI s,
IVectorObject vobj) |
IVectorObject(IVecI vec) |
IVectorObject(IVecI vec,
IVecI root) |
IVectorObject(IVectorObject vobj) |
Modifier and Type | Method and Description |
---|---|
IVectorObject |
add(double x,
double y,
double z) |
IVectorObject |
add(double f,
IVecI v)
scale add
|
IVectorObject |
add(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IVectorObject |
add(IDoubleI f,
IVecI v)
scale add
|
IVectorObject |
add(IVecI v) |
IVectorObject |
add(IVecI v,
double f)
scale add
|
IVectorObject |
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) |
IDoubleI |
angle(ISwitchR r,
IVecI v)
get angle between two vector from 0 to Pi
|
IDoubleI |
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) |
IVecI |
bisect(double vx,
double vy,
double vz)
create a new instance of bisector
|
IVecI |
bisect(IVecI v)
create a new instance of bisector
|
IVectorObject |
clr(java.awt.Color c) |
IVectorObject |
clr(java.awt.Color c,
double alpha) |
IVectorObject |
clr(java.awt.Color c,
float alpha) |
IVectorObject |
clr(java.awt.Color c,
int alpha) |
IVectorObject |
clr(double dgray) |
IVectorObject |
clr(double dgray,
double dalpha) |
IVectorObject |
clr(double dr,
double dg,
double db) |
IVectorObject |
clr(double dr,
double dg,
double db,
double da) |
IVectorObject |
clr(float fgray) |
IVectorObject |
clr(float fgray,
float falpha) |
IVectorObject |
clr(float fr,
float fg,
float fb) |
IVectorObject |
clr(float fr,
float fg,
float fb,
float fa) |
IVectorObject |
clr(IColor c)
to set an object color
|
IVectorObject |
clr(IColor c,
double alpha)
to set color, with alpha value overwritten
|
IVectorObject |
clr(IColor c,
float alpha)
to set color, with alpha value overwritten
|
IVectorObject |
clr(IColor c,
int alpha)
to set color, with alpha value overwritten
|
IVectorObject |
clr(int gray) |
IVectorObject |
clr(int gray,
int alpha) |
IVectorObject |
clr(int r,
int g,
int b) |
IVectorObject |
clr(int r,
int g,
int b,
int a) |
IVectorObject |
clr(IObject o)
to set the same color with the object
|
IVectorObject |
cp()
cp() is alias of dup()
|
IVectorObject |
cp(double x,
double y,
double z)
cp() is alias of dup().add()
|
IVectorObject |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z)
cp() is alias of dup().add()
|
IVectorObject |
cp(IVecI v)
cp() is alias of dup().add()
|
IGraphicObject |
createGraphic(igeo.gui.IGraphicMode m) |
IVecI |
cross(double vx,
double vy,
double vz)
cross product, creating a new instance
|
IVecI |
cross(IVecI v)
cross product, creating a new instance
|
IVecI |
dif(double vx,
double vy,
double vz)
create a new instance of difference
|
IVecI |
dif(IVecI v)
create a new instance of difference
|
IVecI |
diff(double vx,
double vy,
double vz)
alias of dif
|
IVecI |
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
|
IDoubleI |
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
|
IDoubleI |
dist2(ISwitchR r,
IVecI v)
squared distance of two vectors
|
double |
dist2(IVecI v)
squared distance of two vectors
|
IVectorObject |
div(double v) |
IVectorObject |
div(IDoubleI v) |
double |
dot(double vx,
double vy,
double vz)
dot product
|
double |
dot(ISwitchE e,
IVecI v)
dot product
|
IDoubleI |
dot(ISwitchR r,
IVecI v)
dot product
|
double |
dot(IVecI v)
dot product
|
IVectorObject |
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
|
IBoolI |
eq(ISwitchR r,
IVecI v)
check whether location is same or not
|
IBoolI |
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
|
IBoolI |
eqX(ISwitchR r,
IVecI v)
check if same in X
|
IBoolI |
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
|
IBoolI |
eqY(ISwitchR r,
IVecI v)
check if same in Y
|
IBoolI |
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
|
IBoolI |
eqZ(ISwitchR r,
IVecI v)
check if same in Z
|
IBoolI |
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
|
IVectorObject |
flip()
alias of neg()
|
IVec |
get() |
double |
getSize() |
IDoubleI |
getX() |
IDoubleI |
getY() |
IDoubleI |
getZ() |
IVectorObject |
hide() |
IVectorObject |
hsb(double h,
double s,
double b) |
IVectorObject |
hsb(double h,
double s,
double b,
double a) |
IVectorObject |
hsb(float h,
float s,
float b) |
IVectorObject |
hsb(float h,
float s,
float b,
float a) |
protected void |
initVector(IServerI s) |
boolean |
isValid()
checking parameters validity.
|
IVectorObject |
layer(ILayer l)
Set layer by ILayer object
|
double |
len()
getting length of the vector
|
IVectorObject |
len(double l)
setting length
|
IVectorObject |
len(IDoubleI l)
setting length
|
double |
len(ISwitchE e)
getting length of the vector
|
IDoubleI |
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
|
IDoubleI |
len2(ISwitchR r)
getting squared length of the vector
|
IVecI |
mid(double vx,
double vy,
double vz)
create a new instance of midpoint
|
IVecI |
mid(IVecI v)
create a new instance of midpoint
|
IVectorObject |
mirror(double planeX,
double planeY,
double planeZ)
alias of ref
|
IVectorObject |
mirror(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
alias of ref
|
IVectorObject |
mirror(IVecI planeDir)
reflect (mirror) 3 dimensionally to the other side of the plane
|
IVectorObject |
mirror(IVecI center,
IVecI planeDir)
alias of ref
|
IVectorObject |
mul(double v) |
IVectorObject |
mul(IDoubleI v) |
IVectorObject |
mv(double x,
double y,
double z)
mv() is alias of add()
|
IVectorObject |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z)
mv() is alias of add()
|
IVectorObject |
mv(IVecI v)
mv() is alias of add()
|
IVectorObject |
name(java.lang.String nm) |
IVectorObject |
neg() |
IVecI |
nml(double vx,
double vy,
double vz)
alias of cross
|
IVecI |
nml(double vx1,
double vy1,
double vz1,
double vx2,
double vy2,
double vz2)
create normal vector from 3 points of self, pt1 and pt2
|
IVecI |
nml(IVecI v)
alias of cross.
|
IVecI |
nml(IVecI pt1,
IVecI pt2)
create normal vector from 3 points of self, pt1 and pt2
|
IVecI |
pos()
passing position field (vec)
|
IVectorObject |
ref(double planeX,
double planeY,
double planeZ)
reflect(mirror) 3 dimensionally to the other side of the plane
|
IVectorObject |
ref(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
reflect(mirror) 3 dimensionally to the other side of the plane
|
IVectorObject |
ref(IVecI planeDir)
reflect (mirror) 3 dimensionally to the other side of the plane
|
IVectorObject |
ref(IVecI center,
IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane
|
IVectorObject |
rev()
alias of neg()
|
IVecI |
root() |
IVectorObject |
root(IVecI v) |
IVectorObject |
rot(double angle)
rotation on XY plane
|
IVectorObject |
rot(double axisX,
double axisY,
double axisZ,
double angle)
rotation around axis vector
|
IVectorObject |
rot(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double angle)
rotation around axis vector and center point
|
IVectorObject |
rot(IDoubleI angle)
rotation on XY plane
|
IVectorObject |
rot(IVecI axis,
double angle)
rotation around axis vector
|
IVectorObject |
rot(IVecI axis,
IDoubleI angle)
rotation around axis vector
|
IVectorObject |
rot(IVecI axis,
IVecI destDir)
rotate to destination direction vector
|
IVectorObject |
rot(IVecI center,
IVecI axis,
double angle)
rotation around axis vector and center point
|
IVectorObject |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
rotation around axis vector and center point
|
IVectorObject |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotate to destination point location
|
IVectorObject |
rot2(double angle)
rotation on xy-plane; alias of rot(double)
|
IVectorObject |
rot2(double centerX,
double centerY,
double angle)
rotation on xy-plane
|
IVectorObject |
rot2(IDoubleI angle)
rotation on xy-plane; alias of rot(IDoubleI)
|
IVectorObject |
rot2(IVecI destDir)
rotate to destination direction vector
|
IVectorObject |
rot2(IVecI center,
double angle)
rotation on xy-plane
|
IVectorObject |
rot2(IVecI center,
IDoubleI angle)
rotation on xy-plane
|
IVectorObject |
rot2(IVecI center,
IVecI destPt)
rotate to destination point location
|
IVectorObject |
scale(double f)
alias of mul
|
IVectorObject |
scale(double centerX,
double centerY,
double centerZ,
double f)
scale from a center
|
IVectorObject |
scale(IDoubleI f)
alias of mul
|
IVectorObject |
scale(IVecI center,
double f)
scale from a center
|
IVectorObject |
scale(IVecI center,
IDoubleI f)
scale from a center
|
IVectorObject |
scale1d(double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction
|
IVectorObject |
scale1d(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction from a center
|
IVectorObject |
scale1d(IVecI axis,
double f)
scale only in 1 direction
|
IVectorObject |
scale1d(IVecI axis,
IDoubleI f)
scale only in 1 direction
|
IVectorObject |
scale1d(IVecI center,
IVecI axis,
double f)
scale only in 1 direction from a center
|
IVectorObject |
scale1d(IVecI center,
IVecI axis,
IDoubleI f)
scale only in 1 direction from a center
|
IVectorObject |
set(double x,
double y,
double z) |
IVectorObject |
set(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IVectorObject |
set(IVecI v) |
IVectorObject |
setColor(java.awt.Color c) |
IVectorObject |
setColor(java.awt.Color c,
double alpha) |
IVectorObject |
setColor(java.awt.Color c,
float alpha) |
IVectorObject |
setColor(java.awt.Color c,
int alpha) |
IVectorObject |
setColor(double dgray) |
IVectorObject |
setColor(double dgray,
double dalpha) |
IVectorObject |
setColor(double dr,
double dg,
double db) |
IVectorObject |
setColor(double dr,
double dg,
double db,
double da) |
IVectorObject |
setColor(float fgray) |
IVectorObject |
setColor(float fgray,
float falpha) |
IVectorObject |
setColor(float fr,
float fg,
float fb) |
IVectorObject |
setColor(float fr,
float fg,
float fb,
float fa) |
IVectorObject |
setColor(IColor c) |
IVectorObject |
setColor(IColor c,
double alpha) |
IVectorObject |
setColor(IColor c,
float alpha) |
IVectorObject |
setColor(IColor c,
int alpha) |
IVectorObject |
setColor(int gray) |
IVectorObject |
setColor(int gray,
int alpha) |
IVectorObject |
setColor(int r,
int g,
int b) |
IVectorObject |
setColor(int r,
int g,
int b,
int a) |
IVectorObject |
setHSBColor(double h,
double s,
double b) |
IVectorObject |
setHSBColor(double h,
double s,
double b,
double a) |
IVectorObject |
setHSBColor(float h,
float s,
float b) |
IVectorObject |
setHSBColor(float h,
float s,
float b,
float a) |
IVectorObject |
setSize(double sz)
set size of dot in graphic
|
IVectorObject |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation
|
IVectorObject |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation
|
IVectorObject |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation
|
IVectorObject |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation
|
IVectorObject |
shearXY(double sxy,
double syx)
shear operation on XY
|
IVectorObject |
shearXY(IDoubleI sxy,
IDoubleI syx)
shear operation on XY
|
IVectorObject |
shearXY(IVecI center,
double sxy,
double syx)
shear operation on XY
|
IVectorObject |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
shear operation on XY
|
IVectorObject |
shearYZ(double syz,
double szy)
shear operation on YZ
|
IVectorObject |
shearYZ(IDoubleI syz,
IDoubleI szy)
shear operation on YZ
|
IVectorObject |
shearYZ(IVecI center,
double syz,
double szy)
shear operation on YZ
|
IVectorObject |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
shear operation on YZ
|
IVectorObject |
shearZX(double szx,
double sxz)
shear operation on ZX
|
IVectorObject |
shearZX(IDoubleI szx,
IDoubleI sxz)
shear operation on ZX
|
IVectorObject |
shearZX(IVecI center,
double szx,
double sxz)
shear operation on ZX
|
IVectorObject |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
shear operation on ZX
|
IVectorObject |
show() |
double |
size() |
IVectorObject |
size(double sz) |
IVectorObject |
sub(double x,
double y,
double z) |
IVectorObject |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IVectorObject |
sub(IVecI v) |
IVecI |
sum(double vx,
double vy,
double vz)
create a new instance of total summation
|
IVecI |
sum(IVecI... v)
create a new instance of total summation
|
IVecI |
sum(IVecI v)
create a new instance of total summation
|
IVecI |
sum(IVecI v2,
double w2)
create a new instance of weighted sum
|
IVecI |
sum(IVecI v2,
double w1,
double w2)
weighted sum
|
IVecI |
sum(IVecI v2,
IDoubleI w2)
create a new instance of weighted sum
|
IVecI |
sum(IVecI v2,
IDoubleI w1,
IDoubleI w2)
create a new instance of weighted sum
|
IVec2I |
to2d() |
IVec2I |
to2d(IVecI projectionDir) |
IVec2I |
to2d(IVecI xaxis,
IVecI yaxis) |
IVec2I |
to2d(IVecI xaxis,
IVecI yaxis,
IVecI origin) |
IVec4I |
to4d() |
IVec4I |
to4d(double w) |
IVec4I |
to4d(IDoubleI w) |
java.lang.String |
toString() |
IVectorObject |
transform(IMatrix3I mat)
transform with a transformation matrix
|
IVectorObject |
transform(IMatrix4I mat)
transform with a transformation matrix
|
IVectorObject |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
transform with a transformation vectors
|
IVectorObject |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
transform with a transformation vectors
|
IVectorObject |
translate(double x,
double y,
double z)
translate is alias of add()
|
IVectorObject |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
alias of add()
|
IVectorObject |
translate(IVecI v)
alias of add()
|
IVectorObject |
unit()
unitize
|
IVecI |
vector() |
IVectorObject |
vector(IVecI v) |
IVectorObject |
weight(double w) |
IVectorObject |
weight(float w) |
double |
x()
getting x component
|
IVectorObject |
x(double vx)
setting x component
|
IVectorObject |
x(IDoubleI vx)
setting x component
|
double |
x(ISwitchE e)
getting x component
|
IDoubleI |
x(ISwitchR r)
getting x component
|
IVectorObject |
x(IVec2I vx)
setting x component by x component of input vector
|
IVectorObject |
x(IVecI vx)
setting x component by x component of input vector
|
double |
y()
getting y component
|
IVectorObject |
y(double vy)
setting y component
|
IVectorObject |
y(IDoubleI vy)
setting y component
|
double |
y(ISwitchE e)
getting y component
|
IDoubleI |
y(ISwitchR r)
getting y component
|
IVectorObject |
y(IVec2I vy)
setting y component by y component of input vector
|
IVectorObject |
y(IVecI vy)
setting y component by y component of input vector
|
double |
z()
getting z component
|
IVectorObject |
z(double vz)
setting z component
|
IVectorObject |
z(IDoubleI vz)
setting z component
|
double |
z(ISwitchE e)
getting z component
|
IDoubleI |
z(ISwitchR r)
getting z component
|
IVectorObject |
z(IVecI vz)
setting z component by z component of input vector
|
IVectorObject |
zero()
setting all zero
|
addDynamics, addUserData, addUserData, alpha, alphaInt, attr, attr, attr, awtColor, blue, blueInt, brightness, castStringHashMap, clearDynamics, clearGraphics, clr, defaultAttribute, del, deletDynamics, deleteDynamics, deleteDynamics, deleteGraphic, dynamicsNum, getAWTColor, getColor, getDynamics, getGraphic, getGraphic, getParameter, graphicsNum, gray, grayInt, green, greenInt, grey, greyInt, hue, initGraphic, initObject, isVisible, layer, layer, name, red, redInt, resetGraphic, saturation, server, setParameter, setTexture, syncColor, syncGraphic, syncVisibility, syncWeight, texture, updateGraphic, userData, userData, userData, userDataNum, visible, weight
public IVectorObject(IVecI vec)
public IVectorObject(IServerI s, IVectorObject vobj)
public IVectorObject(IVectorObject vobj)
public IVecI vector()
public IVectorObject vector(IVecI v)
public IVecI root()
public IVectorObject root(IVecI v)
protected void initVector(IServerI s)
public IGraphicObject createGraphic(igeo.gui.IGraphicMode m)
createGraphic
in class IObject
public double x()
IVecI
public double y()
IVecI
public double z()
IVecI
public IVectorObject x(double vx)
IVecI
public IVectorObject y(double vy)
IVecI
public IVectorObject z(double vz)
IVecI
public IVectorObject x(IDoubleI vx)
IVecI
public IVectorObject y(IDoubleI vy)
IVecI
public IVectorObject z(IDoubleI vz)
IVecI
public IVectorObject x(IVecI vx)
IVecI
public IVectorObject y(IVecI vy)
IVecI
public IVectorObject z(IVecI vz)
IVecI
public IVectorObject x(IVec2I vx)
IVecI
public IVectorObject y(IVec2I vy)
IVecI
public IVec get()
public IVecI pos()
public IVectorObject dup()
IObject
dup
in interface IArithmeticVal<IVecI,IDoubleI>
dup
in interface ITransformable
dup
in interface IVecI
dup
in class IObject
public IVectorObject set(IVecI v)
public IVectorObject set(double x, double y, double z)
public IVectorObject set(IDoubleI x, IDoubleI y, IDoubleI z)
public IVectorObject add(double x, double y, double z)
add
in interface ITransformable
add
in interface IVecI
public IVectorObject add(IDoubleI x, IDoubleI y, IDoubleI z)
add
in interface ITransformable
add
in interface IVecI
public IVectorObject add(IVecI v)
add
in interface IArithmeticVal<IVecI,IDoubleI>
add
in interface ITransformable
add
in interface IVecI
public IVectorObject sub(double x, double y, double z)
sub
in interface ITransformable
sub
in interface IVecI
public IVectorObject sub(IDoubleI x, IDoubleI y, IDoubleI z)
sub
in interface ITransformable
sub
in interface IVecI
public IVectorObject sub(IVecI v)
sub
in interface IArithmeticVal<IVecI,IDoubleI>
sub
in interface ITransformable
sub
in interface IVecI
public IVectorObject mul(IDoubleI v)
mul
in interface IArithmeticVal<IVecI,IDoubleI>
mul
in interface ITransformable
mul
in interface IVecI
public IVectorObject mul(double v)
mul
in interface ITransformable
mul
in interface IVecI
public IVectorObject div(IDoubleI v)
div
in interface IArithmeticVal<IVecI,IDoubleI>
div
in interface ITransformable
div
in interface IVecI
public IVectorObject div(double v)
div
in interface ITransformable
div
in interface IVecI
public IVectorObject neg()
neg
in interface ITransformable
neg
in interface IVecI
public IVectorObject rev()
IVecI
public IVectorObject flip()
IVecI
flip
in interface ITransformable
flip
in interface IVecI
public IVectorObject zero()
IVecI
public IVectorObject add(IVecI v, double f)
IVecI
add
in interface ITransformable
add
in interface IVecI
public IVectorObject add(IVecI v, IDoubleI f)
IVecI
add
in interface ITransformable
add
in interface IVecI
public IVectorObject add(double f, IVecI v)
IVecI
add
in interface ITransformable
add
in interface IVecI
public IVectorObject add(IDoubleI f, IVecI v)
IVecI
add
in interface ITransformable
add
in interface IVecI
public double dot(double vx, double vy, double vz)
IVecI
public IVecI cross(IVecI v)
IVecI
public IVecI cross(double vx, double vy, double vz)
IVecI
public double len()
IVecI
public double len(ISwitchE e)
IVecI
public IDoubleI len(ISwitchR r)
IVecI
public double len2()
IVecI
public double len2(ISwitchE e)
IVecI
public IDoubleI len2(ISwitchR r)
IVecI
public IVectorObject len(IDoubleI l)
IVecI
public IVectorObject len(double l)
IVecI
public IVectorObject unit()
IVecI
public double dist(double vx, double vy, double vz)
IVecI
public double dist(ISwitchE e, IVecI v)
IVecI
public IDoubleI dist(ISwitchR r, IVecI v)
IVecI
public double dist2(IVecI v)
IVecI
public double dist2(double vx, double vy, double vz)
IVecI
public double dist2(ISwitchE e, IVecI v)
IVecI
public IDoubleI dist2(ISwitchR r, IVecI v)
IVecI
public boolean eq(IVecI v)
IVecI
public boolean eq(double vx, double vy, double vz)
IVecI
public boolean eq(ISwitchE e, IVecI v)
IVecI
public IBoolI eq(ISwitchR r, IVecI v)
IVecI
public boolean eq(IVecI v, double tolerance)
IVecI
public boolean eq(double vx, double vy, double vz, double tolerance)
IVecI
public boolean eq(ISwitchE e, IVecI v, double tolerance)
IVecI
public IBoolI eq(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecI
public boolean eqX(double vx)
IVecI
public boolean eqY(double vy)
IVecI
public boolean eqZ(double vz)
IVecI
public boolean eqX(ISwitchE e, IVecI v)
IVecI
public boolean eqY(ISwitchE e, IVecI v)
IVecI
public boolean eqZ(ISwitchE e, IVecI v)
IVecI
public IBoolI eqX(ISwitchR r, IVecI v)
IVecI
public IBoolI eqY(ISwitchR r, IVecI v)
IVecI
public IBoolI eqZ(ISwitchR r, IVecI v)
IVecI
public boolean eqX(IVecI v, double tolerance)
IVecI
public boolean eqY(IVecI v, double tolerance)
IVecI
public boolean eqZ(IVecI v, double tolerance)
IVecI
public boolean eqX(double vx, double tolerance)
IVecI
public boolean eqY(double vy, double tolerance)
IVecI
public boolean eqZ(double vz, double tolerance)
IVecI
public boolean eqX(ISwitchE e, IVecI v, double tolerance)
IVecI
public boolean eqY(ISwitchE e, IVecI v, double tolerance)
IVecI
public boolean eqZ(ISwitchE e, IVecI v, double tolerance)
IVecI
public IBoolI eqX(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecI
public IBoolI eqY(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecI
public IBoolI eqZ(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecI
public double angle(IVecI v)
IVecI
public double angle(double vx, double vy, double vz)
IVecI
public double angle(ISwitchE e, IVecI v)
IVecI
public IDoubleI angle(ISwitchR r, IVecI v)
IVecI
public double angle(double vx, double vy, double vz, double axisX, double axisY, double axisZ)
public IVectorObject rot(IDoubleI angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
public IVectorObject rot(double angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
public IVectorObject rot(IVecI axis, IDoubleI angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
public IVectorObject rot(IVecI axis, double angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
public IVectorObject rot(double axisX, double axisY, double axisZ, double angle)
IVecI
public IVectorObject rot(IVecI center, IVecI axis, double angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
public IVectorObject rot(IVecI center, IVecI axis, IDoubleI angle)
IVecI
rot
in interface ITransformable
rot
in interface IVecI
public IVectorObject rot(double centerX, double centerY, double centerZ, double axisX, double axisY, double axisZ, double angle)
IVecI
public IVectorObject rot(IVecI axis, IVecI destDir)
rot
in interface ITransformable
rot
in interface IVecI
public IVectorObject rot(IVecI center, IVecI axis, IVecI destPt)
rot
in interface ITransformable
rot
in interface IVecI
public IVectorObject rot2(IDoubleI angle)
IVecI
rot2
in interface ITransformable
rot2
in interface IVecI
public IVectorObject rot2(double angle)
IVecI
rot2
in interface ITransformable
rot2
in interface IVecI
public IVectorObject rot2(IVecI center, double angle)
IVecI
rot2
in interface ITransformable
rot2
in interface IVecI
public IVectorObject rot2(IVecI center, IDoubleI angle)
IVecI
rot2
in interface ITransformable
rot2
in interface IVecI
public IVectorObject rot2(double centerX, double centerY, double angle)
IVecI
public IVectorObject rot2(IVecI destDir)
rot2
in interface ITransformable
rot2
in interface IVecI
public IVectorObject rot2(IVecI center, IVecI destPt)
rot2
in interface ITransformable
rot2
in interface IVecI
public IVectorObject scale(IDoubleI f)
scale
in interface ITransformable
scale
in interface IVecI
public IVectorObject scale(double f)
IVecI
scale
in interface ITransformable
scale
in interface IVecI
public IVectorObject scale(IVecI center, IDoubleI f)
IVecI
scale
in interface ITransformable
scale
in interface IVecI
public IVectorObject scale(IVecI center, double f)
IVecI
scale
in interface ITransformable
scale
in interface IVecI
public IVectorObject scale(double centerX, double centerY, double centerZ, double f)
IVecI
public IVectorObject scale1d(IVecI axis, double f)
scale1d
in interface ITransformable
scale1d
in interface IVecI
public IVectorObject scale1d(IVecI axis, IDoubleI f)
IVecI
scale1d
in interface ITransformable
scale1d
in interface IVecI
public IVectorObject scale1d(double axisX, double axisY, double axisZ, double f)
IVecI
public IVectorObject scale1d(IVecI center, IVecI axis, double f)
IVecI
scale1d
in interface ITransformable
scale1d
in interface IVecI
public IVectorObject scale1d(IVecI center, IVecI axis, IDoubleI f)
IVecI
scale1d
in interface ITransformable
scale1d
in interface IVecI
public IVectorObject scale1d(double centerX, double centerY, double centerZ, double axisX, double axisY, double axisZ, double f)
IVecI
public IVectorObject ref(IVecI planeDir)
ref
in interface ITransformable
ref
in interface IVecI
public IVectorObject ref(double planeX, double planeY, double planeZ)
IVecI
public IVectorObject ref(IVecI center, IVecI planeDir)
IVecI
ref
in interface ITransformable
ref
in interface IVecI
public IVectorObject ref(double centerX, double centerY, double centerZ, double planeX, double planeY, double planeZ)
IVecI
public IVectorObject mirror(IVecI planeDir)
mirror
in interface ITransformable
mirror
in interface IVecI
public IVectorObject mirror(double planeX, double planeY, double planeZ)
IVecI
public IVectorObject mirror(IVecI center, IVecI planeDir)
IVecI
mirror
in interface ITransformable
mirror
in interface IVecI
public IVectorObject mirror(double centerX, double centerY, double centerZ, double planeX, double planeY, double planeZ)
IVecI
public IVectorObject shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
shear
in interface IVecI
public IVectorObject shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
IVecI
shear
in interface ITransformable
shear
in interface IVecI
public IVectorObject 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 IVectorObject 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 IVectorObject shearXY(double sxy, double syx)
IVecI
shearXY
in interface ITransformable
shearXY
in interface IVecI
public IVectorObject shearXY(IDoubleI sxy, IDoubleI syx)
IVecI
shearXY
in interface ITransformable
shearXY
in interface IVecI
public IVectorObject shearXY(IVecI center, double sxy, double syx)
IVecI
shearXY
in interface ITransformable
shearXY
in interface IVecI
public IVectorObject shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
IVecI
shearXY
in interface ITransformable
shearXY
in interface IVecI
public IVectorObject shearYZ(double syz, double szy)
IVecI
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
public IVectorObject shearYZ(IDoubleI syz, IDoubleI szy)
IVecI
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
public IVectorObject shearYZ(IVecI center, double syz, double szy)
IVecI
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
public IVectorObject shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
IVecI
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
public IVectorObject shearZX(double szx, double sxz)
IVecI
shearZX
in interface ITransformable
shearZX
in interface IVecI
public IVectorObject shearZX(IDoubleI szx, IDoubleI sxz)
IVecI
shearZX
in interface ITransformable
shearZX
in interface IVecI
public IVectorObject shearZX(IVecI center, double szx, double sxz)
IVecI
shearZX
in interface ITransformable
shearZX
in interface IVecI
public IVectorObject shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
IVecI
shearZX
in interface ITransformable
shearZX
in interface IVecI
public IVectorObject translate(double x, double y, double z)
translate
in interface ITransformable
translate
in interface IVecI
public IVectorObject translate(IDoubleI x, IDoubleI y, IDoubleI z)
IVecI
translate
in interface ITransformable
translate
in interface IVecI
public IVectorObject translate(IVecI v)
IVecI
translate
in interface ITransformable
translate
in interface IVecI
public IVectorObject mv(double x, double y, double z)
mv
in interface ITransformable
mv
in interface IVecI
public IVectorObject mv(IDoubleI x, IDoubleI y, IDoubleI z)
IVecI
mv
in interface ITransformable
mv
in interface IVecI
public IVectorObject mv(IVecI v)
IVecI
mv
in interface ITransformable
mv
in interface IVecI
public IVectorObject cp()
cp
in interface IArithmeticVal<IVecI,IDoubleI>
cp
in interface ITransformable
cp
in interface IVecI
cp
in class IObject
public IVectorObject cp(double x, double y, double z)
cp
in interface ITransformable
cp
in interface IVecI
public IVectorObject cp(IDoubleI x, IDoubleI y, IDoubleI z)
IVecI
cp
in interface ITransformable
cp
in interface IVecI
public IVectorObject cp(IVecI v)
IVecI
cp
in interface ITransformable
cp
in interface IVecI
public IVectorObject transform(IMatrix3I mat)
IVecI
transform
in interface ITransformable
transform
in interface IVecI
public IVectorObject transform(IMatrix4I mat)
IVecI
transform
in interface ITransformable
transform
in interface IVecI
public IVectorObject transform(IVecI xvec, IVecI yvec, IVecI zvec)
IVecI
transform
in interface ITransformable
transform
in interface IVecI
public IVectorObject transform(IVecI xvec, IVecI yvec, IVecI zvec, IVecI translate)
IVecI
transform
in interface ITransformable
transform
in interface IVecI
public IVecI dif(IVecI v)
IVecI
public IVecI dif(double vx, double vy, double vz)
IVecI
public IVecI diff(double vx, double vy, double vz)
IVecI
public IVecI mid(IVecI v)
IVecI
public IVecI mid(double vx, double vy, double vz)
IVecI
public IVecI sum(IVecI v)
IVecI
public IVecI sum(double vx, double vy, double vz)
IVecI
public IVecI sum(IVecI... v)
IVecI
public IVecI bisect(IVecI v)
IVecI
public IVecI bisect(double vx, double vy, double vz)
IVecI
public IVecI sum(IVecI v2, double w2)
IVecI
public IVecI sum(IVecI v2, IDoubleI w1, IDoubleI w2)
IVecI
public IVecI sum(IVecI v2, IDoubleI w2)
IVecI
public IVecI nml(double vx, double vy, double vz)
IVecI
public IVecI nml(double vx1, double vy1, double vz1, double vx2, double vy2, double vz2)
IVecI
public boolean isValid()
IObject
public java.lang.String toString()
toString
in class java.lang.Object
public IVectorObject setSize(double sz)
public IVectorObject size(double sz)
public double getSize()
public double size()
public IVectorObject weight(double w)
public IVectorObject weight(float w)
public IVectorObject name(java.lang.String nm)
public IVectorObject layer(ILayer l)
IObject
public IVectorObject hide()
public IVectorObject show()
public IVectorObject clr(IColor c)
IObject
public IVectorObject clr(IColor c, int alpha)
IObject
public IVectorObject clr(IColor c, float alpha)
IObject
public IVectorObject clr(IColor c, double alpha)
IObject
public IVectorObject clr(IObject o)
IObject
public IVectorObject clr(java.awt.Color c)
public IVectorObject clr(java.awt.Color c, int alpha)
public IVectorObject clr(java.awt.Color c, float alpha)
public IVectorObject clr(java.awt.Color c, double alpha)
public IVectorObject clr(int gray)
public IVectorObject clr(float fgray)
public IVectorObject clr(double dgray)
public IVectorObject clr(int gray, int alpha)
public IVectorObject clr(float fgray, float falpha)
public IVectorObject clr(double dgray, double dalpha)
public IVectorObject clr(int r, int g, int b)
public IVectorObject clr(float fr, float fg, float fb)
public IVectorObject clr(double dr, double dg, double db)
public IVectorObject clr(int r, int g, int b, int a)
public IVectorObject clr(float fr, float fg, float fb, float fa)
public IVectorObject clr(double dr, double dg, double db, double da)
public IVectorObject hsb(float h, float s, float b, float a)
public IVectorObject hsb(double h, double s, double b, double a)
public IVectorObject hsb(float h, float s, float b)
public IVectorObject hsb(double h, double s, double b)
public IVectorObject setColor(IColor c)
public IVectorObject setColor(IColor c, int alpha)
public IVectorObject setColor(IColor c, float alpha)
public IVectorObject setColor(IColor c, double alpha)
public IVectorObject setColor(java.awt.Color c)
public IVectorObject setColor(java.awt.Color c, int alpha)
public IVectorObject setColor(java.awt.Color c, float alpha)
public IVectorObject setColor(java.awt.Color c, double alpha)
public IVectorObject setColor(int gray)
public IVectorObject setColor(float fgray)
public IVectorObject setColor(double dgray)
public IVectorObject setColor(int gray, int alpha)
public IVectorObject setColor(float fgray, float falpha)
public IVectorObject setColor(double dgray, double dalpha)
public IVectorObject setColor(int r, int g, int b)
public IVectorObject setColor(float fr, float fg, float fb)
public IVectorObject setColor(double dr, double dg, double db)
public IVectorObject setColor(int r, int g, int b, int a)
public IVectorObject setColor(float fr, float fg, float fb, float fa)
public IVectorObject setColor(double dr, double dg, double db, double da)
public IVectorObject setHSBColor(float h, float s, float b, float a)
setHSBColor
in class IObject
public IVectorObject setHSBColor(double h, double s, double b, double a)
setHSBColor
in class IObject
public IVectorObject setHSBColor(float h, float s, float b)
setHSBColor
in class IObject
public IVectorObject setHSBColor(double h, double s, double b)
setHSBColor
in class IObject