|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectigeo.IParameterObject
igeo.IVec4R
public class IVec4R
Reference class of 4 dimensional vector to be used as IParameterObject.
Nested Class Summary | |
---|---|
static class |
IVec4R.Add
|
static class |
IVec4R.Cross
|
static class |
IVec4R.Dist
|
static class |
IVec4R.Dist2
|
static class |
IVec4R.Div
|
static class |
IVec4R.Eq
|
static class |
IVec4R.EqW
|
static class |
IVec4R.EqX
|
static class |
IVec4R.EqY
|
static class |
IVec4R.EqZ
|
static class |
IVec4R.FromVec
|
static class |
IVec4R.FromVecAndW
|
static class |
IVec4R.FromW
|
static class |
IVec4R.FromX
|
static class |
IVec4R.FromXYZ
|
static class |
IVec4R.FromXYZW
|
static class |
IVec4R.FromY
|
static class |
IVec4R.FromZ
|
static class |
IVec4R.Mul
|
static class |
IVec4R.Neg
|
static class |
IVec4R.Ref
|
static class |
IVec4R.Rot
|
static class |
IVec4R.Rot2
|
static class |
IVec4R.Scale1d
|
static class |
IVec4R.SetLen
|
static class |
IVec4R.Shear
|
static class |
IVec4R.Sub
|
static class |
IVec4R.ToVec
|
static class |
IVec4R.ToVec2
|
static class |
IVec4R.Transform3
|
static class |
IVec4R.Transform4
|
static class |
IVec4R.TransformVec3
|
static class |
IVec4R.TransformVec4
|
static class |
IVec4R.Unit
|
static class |
IVec4R.W
|
static class |
IVec4R.X
|
static class |
IVec4R.Y
|
static class |
IVec4R.Z
|
Field Summary | |
---|---|
protected IVec4Op |
op
|
Fields inherited from class igeo.IParameterObject |
---|
parent |
Constructor Summary | |
---|---|
IVec4R(double x,
double y,
double z)
|
|
IVec4R(double x,
double y,
double z,
double w)
|
|
IVec4R(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
|
IVec4R(IDoubleI x,
IDoubleI y,
IDoubleI z,
IDoubleI w)
|
|
IVec4R(IServerI s,
double x,
double y,
double z)
|
|
IVec4R(IServerI s,
double x,
double y,
double z,
double w)
|
|
IVec4R(IServerI s,
IDoubleI x,
IDoubleI y,
IDoubleI z)
|
|
IVec4R(IServerI s,
IDoubleI x,
IDoubleI y,
IDoubleI z,
IDoubleI w)
|
|
IVec4R(IServerI s,
IVec4Op v)
|
|
IVec4R(IServerI s,
IVecI v)
|
|
IVec4R(IServerI s,
IVecI v,
double w)
|
|
IVec4R(IServerI s,
IVecI v,
IDoubleI w)
|
|
IVec4R(IVec4Op v)
|
|
IVec4R(IVecI v)
|
|
IVec4R(IVecI v,
double w)
|
|
IVec4R(IVecI v,
IDoubleI w)
|
Method Summary | |
---|---|
IVec4R |
add(double x,
double y,
double z)
|
IVec4R |
add(double f,
IVecI v)
scale add alias |
IVec4R |
add(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IVec4R |
add(IDoubleI f,
IVecI v)
scale add alias |
IVec4R |
add(IVecI u)
|
IVec4R |
add(IVecI v,
double f)
scale add |
IVec4R |
add(IVecI v,
IDoubleI f)
scale add |
double |
angle(double ux,
double uy,
double uz)
get angle between two vector from 0 to Pi |
double |
angle(double ux,
double uy,
double uz,
double axisX,
double axisY,
double axisZ)
|
double |
angle(ISwitchE e,
IVecI u)
get angle between two vector from 0 to Pi |
double |
angle(ISwitchE e,
IVecI u,
IVecI axis)
|
IDoubleR |
angle(ISwitchR r,
IVecI u)
get angle between two vector from 0 to Pi |
IDoubleR |
angle(ISwitchR r,
IVecI u,
IVecI axis)
|
double |
angle(IVecI u)
get angle between two vector from 0 to Pi |
double |
angle(IVecI u,
IVecI axis)
|
IVec4R |
bisect(double vx,
double vy,
double vz)
create a new instance of bisector |
IVec4R |
bisect(IVecI v)
create a new instance of bisector |
IVec4R |
cp()
cp() is alias of dup() |
IVec4R |
cp(double x,
double y,
double z)
cp() is alias of dup().add() |
IVec4R |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z)
cp() is alias of dup().add() |
IVec4R |
cp(IVecI v)
cp() is alias of dup().add() |
IVec4R |
cross(double ux,
double uy,
double uz)
cross product, creating a new instance |
IVec4R |
cross(IVecI u)
cross now returns a new instance 2011/08/03 |
IVec4R |
dif(double vx,
double vy,
double vz)
create a new instance of difference |
IVec4R |
dif(IVecI v)
create a new instance of difference |
IVec4R |
diff(double vx,
double vy,
double vz)
alias of dif |
IVec4R |
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 |
IDoubleR |
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 |
IDoubleR |
dist2(ISwitchR r,
IVecI v)
squared distance of two vectors |
double |
dist2(IVecI v)
squared distance of two vectors |
IVec4R |
div(double u)
|
IVec4R |
div(IDoubleI u)
|
double |
dot(double ux,
double uy,
double uz)
dot product |
double |
dot(ISwitchE e,
IVecI u)
dot product |
IDoubleR |
dot(ISwitchR r,
IVecI u)
dot product |
double |
dot(IVecI u)
dot product |
IVec4R |
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 |
IBoolR |
eq(ISwitchR r,
IVecI v)
check whether location is same or not |
IBoolR |
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 |
eqW(double vw)
|
boolean |
eqW(double vw,
double tolerance)
|
boolean |
eqW(ISwitchE e,
IVec4I v)
|
boolean |
eqW(ISwitchE e,
IVec4I v,
double tolerance)
|
IBoolR |
eqW(ISwitchR r,
IVec4I v)
|
IBoolR |
eqW(ISwitchR r,
IVec4I v,
IDoubleI tolerance)
|
boolean |
eqW(IVec4I v)
|
boolean |
eqW(IVec4I v,
double 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 |
IBoolR |
eqX(ISwitchR r,
IVecI v)
check if same in X |
IBoolR |
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 |
IBoolR |
eqY(ISwitchR r,
IVecI v)
check if same in Y |
IBoolR |
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 |
IBoolR |
eqZ(ISwitchR r,
IVecI v)
check if same in Z |
IBoolR |
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 |
IVec4R |
flip()
alias of neg() |
IVec4 |
get()
|
IDoubleR |
getW()
|
IDoubleR |
getX()
|
IDoubleR |
getY()
|
IDoubleR |
getZ()
|
boolean |
isValid()
checking x, y, and z is valid number (not Infinite, nor NaN). |
double |
len()
getting length of the vector |
IVec4R |
len(double l)
setting length |
IVec4R |
len(IDoubleI l)
setting length |
double |
len(ISwitchE e)
getting length of the vector |
IDoubleR |
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 |
IDoubleR |
len2(ISwitchR r)
getting squared length of the vector |
IVec4R |
mid(double vx,
double vy,
double vz)
create a new instance of midpoint |
IVec4R |
mid(IVecI v)
create a new instance of midpoint |
IVec4R |
mirror(double planeX,
double planeY,
double planeZ)
alias of ref |
IVec4R |
mirror(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
alias of ref |
IVec4R |
mirror(IVecI planeDir)
mirror is alias of ref |
IVec4R |
mirror(IVecI center,
IVecI planeDir)
alias of ref |
IVec4R |
mul(double u)
|
IVec4R |
mul(IDoubleI u)
|
IVec4R |
mv(double x,
double y,
double z)
mv() is alias of add() |
IVec4R |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z)
mv() is alias of add() |
IVec4R |
mv(IVecI v)
mv() is alias of add() |
IVec4R |
neg()
|
IVec4R |
nml(double vx,
double vy,
double vz)
alias of cross. |
IVec4R |
nml(double vx1,
double vy1,
double vz1,
double vx2,
double vy2,
double vz2)
create normal vector from 3 points of self, pt1 and pt2, not unitized |
IVec4R |
nml(IVecI v)
alias of cross. |
IVec4R |
nml(IVecI pt1,
IVecI pt2)
create normal vector from 3 points of self, pt1 and pt2, not unitized |
IVec4Op |
operator()
|
IVec4R |
ref(double planeX,
double planeY,
double planeZ)
reflect(mirror) 3 dimensionally to the other side of the plane |
IVec4R |
ref(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
reflect(mirror) 3 dimensionally to the other side of the plane |
IVec4R |
ref(IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane |
IVec4R |
ref(IVecI center,
IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane |
IVec4R |
rev()
alias of neg() |
IVec4R |
rot(double angle)
rotation on xy-plane |
IVec4R |
rot(double axisX,
double axisY,
double axisZ,
double angle)
rotation around axis |
IVec4R |
rot(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double angle)
rotation around axis and center |
IVec4R |
rot(IDoubleI angle)
rotation around z-axis and origin |
IVec4R |
rot(IVecI axis,
double angle)
rotation around axis |
IVec4R |
rot(IVecI axis,
IDoubleI angle)
rotation around axis vector |
IVec4R |
rot(IVecI axis,
IVecI destDir)
rotate to destination direction vector |
IVec4R |
rot(IVecI center,
IVecI axis,
double angle)
rotation around axis and center |
IVec4R |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
rotation around axis vector and center |
IVec4R |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotate to destination point location |
IVec4R |
rot2(double angle)
alias of rot(double) |
IVec4R |
rot2(double centerX,
double centerY,
double angle)
rotation on xy-plane at center |
IVec4R |
rot2(IDoubleI angle)
alias of rot(IDoubleI) |
IVec4R |
rot2(IVecI destDir)
rotation on xy-plane to destination direction vector |
IVec4R |
rot2(IVecI center,
double angle)
rotation on xy-plane at center |
IVec4R |
rot2(IVecI center,
IDoubleI angle)
rotation on xy-plane around center |
IVec4R |
rot2(IVecI center,
IVecI destPt)
rotation on xy-plane to destination point location |
IVec4R |
scale(double f)
alias of mul |
IVec4R |
scale(double centerX,
double centerY,
double centerZ,
double f)
scale around center |
IVec4R |
scale(IDoubleI f)
alias of mul |
IVec4R |
scale(IVecI center,
double f)
scale around center |
IVec4R |
scale(IVecI center,
IDoubleI f)
scale around center |
IVec4R |
scale1d(double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction |
IVec4R |
scale1d(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction from a center |
IVec4R |
scale1d(IVecI axis,
double f)
scale only in 1 direction |
IVec4R |
scale1d(IVecI axis,
IDoubleI f)
scale only in 1 direction |
IVec4R |
scale1d(IVecI center,
IVecI axis,
double f)
scale only in 1 direction from a center |
IVec4R |
scale1d(IVecI center,
IVecI axis,
IDoubleI f)
scale only in 1 direction from a center |
IVec4R |
set(double x,
double y,
double z)
|
IVec4R |
set(double x,
double y,
double z,
double w)
|
IVec4R |
set(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IVec4R |
set(IDoubleI x,
IDoubleI y,
IDoubleI z,
IDoubleI w)
|
IVec4R |
set(IVec4I u)
|
IVec4R |
set(IVecI u)
|
IVec4R |
set(IVecI v,
double w)
|
IVec4R |
set(IVecI v,
IDoubleI w)
|
IVec4R |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation |
IVec4R |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation |
IVec4R |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation |
IVec4R |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation |
IVec4R |
shearXY(double sxy,
double syx)
shear operation on XY |
IVec4R |
shearXY(IDoubleI sxy,
IDoubleI syx)
shear operation on XY |
IVec4R |
shearXY(IVecI center,
double sxy,
double syx)
shear operation on XY |
IVec4R |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
shear operation on XY |
IVec4R |
shearYZ(double syz,
double szy)
shear operation on YZ |
IVec4R |
shearYZ(IDoubleI syz,
IDoubleI szy)
shear operation on YZ |
IVec4R |
shearYZ(IVecI center,
double syz,
double szy)
shear operation on YZ |
IVec4R |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
shear operation on YZ |
IVec4R |
shearZX(double szx,
double sxz)
shear operation on ZX |
IVec4R |
shearZX(IDoubleI szx,
IDoubleI sxz)
shear operation on ZX |
IVec4R |
shearZX(IVecI center,
double szx,
double sxz)
shear operation on ZX |
IVec4R |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
shear operation on ZX |
IVec4R |
sub(double x,
double y,
double z)
|
IVec4R |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IVec4R |
sub(IVecI u)
|
IVec4R |
sum(double vx,
double vy,
double vz)
create a new instance of total summation |
IVec4R |
sum(IVecI... v)
create a new instance of total summation |
IVec4R |
sum(IVecI v)
create a new instance of total summation |
IVec4R |
sum(IVecI v2,
double w2)
create a new instance of weighted sum |
IVec4R |
sum(IVecI v2,
double w1,
double w2)
create a new instance of weighted sum |
IVec4R |
sum(IVecI v2,
IDoubleI w2)
create a new instance of weighted sum |
IVec4R |
sum(IVecI v2,
IDoubleI w1,
IDoubleI w2)
weighted sum, creating a new instance |
IVec2R |
to2d()
|
IVecR |
to3d()
|
IVec4R |
to4d()
|
IVec4R |
to4d(double w)
|
IVec4R |
to4d(IDoubleI w)
|
IVec4R |
transform(IMatrix3I mat)
transform with a transformation matrix |
IVec4R |
transform(IMatrix4I mat)
transform with a transformation matrix |
IVec4R |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
transform with a transformation vectors |
IVec4R |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
transform with a transformation vectors |
IVec4R |
translate(double x,
double y,
double z)
translate is alias of add() |
IVec4R |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
alias of add() |
IVec4R |
translate(IVecI v)
alias of add() |
IVec4R |
unit()
unitize |
double |
w()
getting w component |
IVec4R |
w(double vw)
setting w component |
IVec4R |
w(IDoubleI vw)
setting w component |
double |
w(ISwitchE e)
getting w component |
IDoubleR |
w(ISwitchR r)
getting w component |
double |
x()
getting x component |
IVec4R |
x(double vx)
setting x component |
IVec4R |
x(IDoubleI vx)
setting x component |
double |
x(ISwitchE e)
getting x component |
IDoubleR |
x(ISwitchR r)
getting x component |
double |
y()
getting y component |
IVec4R |
y(double vy)
setting y component |
IVec4R |
y(IDoubleI vy)
setting y component |
double |
y(ISwitchE e)
getting y component |
IDoubleR |
y(ISwitchR r)
getting y component |
double |
z()
getting z component |
IVec4R |
z(double vz)
setting z component |
IVec4R |
z(IDoubleI vz)
setting z component |
double |
z(ISwitchE e)
getting z component |
IDoubleR |
z(ISwitchR r)
getting z component |
IVec4R |
zero()
setting x,y,z zero (not w) |
Methods inherited from class igeo.IParameterObject |
---|
createObject, parent, parent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected IVec4Op op
Constructor Detail |
---|
public IVec4R(IVec4Op v)
public IVec4R(IVecI v)
public IVec4R(IVecI v, double w)
public IVec4R(IVecI v, IDoubleI w)
public IVec4R(double x, double y, double z, double w)
public IVec4R(double x, double y, double z)
public IVec4R(IDoubleI x, IDoubleI y, IDoubleI z, IDoubleI w)
public IVec4R(IDoubleI x, IDoubleI y, IDoubleI z)
public IVec4R(IServerI s, IVec4Op v)
public IVec4R(IServerI s, IVecI v)
public IVec4R(IServerI s, IVecI v, double w)
public IVec4R(IServerI s, IVecI v, IDoubleI w)
public IVec4R(IServerI s, double x, double y, double z, double w)
public IVec4R(IServerI s, double x, double y, double z)
public IVec4R(IServerI s, IDoubleI x, IDoubleI y, IDoubleI z, IDoubleI w)
public IVec4R(IServerI s, IDoubleI x, IDoubleI y, IDoubleI z)
Method Detail |
---|
public double x()
IVec4I
x
in interface IVec4I
x
in interface IVecI
public double y()
IVec4I
y
in interface IVec4I
y
in interface IVecI
public double z()
IVec4I
z
in interface IVec4I
z
in interface IVecI
public double w()
IVec4I
w
in interface IVec4I
public IVec4R x(double vx)
x
in interface IVec4I
x
in interface IVecI
public IVec4R y(double vy)
y
in interface IVec4I
y
in interface IVecI
public IVec4R z(double vz)
z
in interface IVec4I
z
in interface IVecI
public IVec4R w(double vw)
w
in interface IVec4I
public IVec4R x(IDoubleI vx)
x
in interface IVec4I
x
in interface IVecI
public IVec4R y(IDoubleI vy)
y
in interface IVec4I
y
in interface IVecI
public IVec4R z(IDoubleI vz)
z
in interface IVec4I
z
in interface IVecI
public IVec4R w(IDoubleI vw)
w
in interface IVec4I
public double x(ISwitchE e)
x
in interface IVec4I
x
in interface IVecI
public double y(ISwitchE e)
y
in interface IVec4I
y
in interface IVecI
public double z(ISwitchE e)
z
in interface IVec4I
z
in interface IVecI
public double w(ISwitchE e)
w
in interface IVec4I
public IDoubleR x(ISwitchR r)
x
in interface IVec4I
x
in interface IVecI
public IDoubleR y(ISwitchR r)
y
in interface IVec4I
y
in interface IVecI
public IDoubleR z(ISwitchR r)
z
in interface IVec4I
z
in interface IVecI
public IDoubleR w(ISwitchR r)
w
in interface IVec4I
public IVec4 get()
get
in interface IParameter
get
in interface IVec4I
get
in interface IVec4Op
get
in interface IVecI
get
in interface IVecOp
public IVec4R dup()
ITransformable
dup
in interface ITransformable
dup
in interface IVec4I
dup
in interface IVecI
public IVec2R to2d()
to2d
in interface IVec4I
to2d
in interface IVecI
public IVecR to3d()
to3d
in interface IVec4I
public IVec4R to4d()
to4d
in interface IVecI
public IVec4R to4d(double w)
to4d
in interface IVecI
public IVec4R to4d(IDoubleI w)
to4d
in interface IVecI
public IDoubleR getX()
getX
in interface IVec4I
getX
in interface IVecI
public IDoubleR getY()
getY
in interface IVec4I
getY
in interface IVecI
public IDoubleR getZ()
getZ
in interface IVec4I
getZ
in interface IVecI
public IDoubleR getW()
getW
in interface IVec4I
public IVec4Op operator()
operator
in interface IReferenceParameter
public IVec4R set(double x, double y, double z, double w)
set
in interface IVec4I
public IVec4R set(double x, double y, double z)
set
in interface IVec4I
set
in interface IVecI
public IVec4R set(IVec4I u)
set
in interface IVec4I
public IVec4R set(IVecI u)
set
in interface IVec4I
set
in interface IVecI
public IVec4R set(IDoubleI x, IDoubleI y, IDoubleI z, IDoubleI w)
set
in interface IVec4I
public IVec4R set(IDoubleI x, IDoubleI y, IDoubleI z)
set
in interface IVec4I
set
in interface IVecI
public IVec4R set(IVecI v, double w)
set
in interface IVec4I
public IVec4R set(IVecI v, IDoubleI w)
set
in interface IVec4I
public IVec4R add(double x, double y, double z)
add
in interface ITransformable
add
in interface IVecI
public IVec4R add(IDoubleI x, IDoubleI y, IDoubleI z)
add
in interface ITransformable
add
in interface IVecI
public IVec4R add(IVecI u)
add
in interface ITransformable
add
in interface IVec4I
add
in interface IVecI
public IVec4R sub(double x, double y, double z)
sub
in interface ITransformable
sub
in interface IVecI
public IVec4R sub(IDoubleI x, IDoubleI y, IDoubleI z)
sub
in interface ITransformable
sub
in interface IVecI
public IVec4R sub(IVecI u)
sub
in interface ITransformable
sub
in interface IVec4I
sub
in interface IVecI
public IVec4R mul(IDoubleI u)
mul
in interface ITransformable
mul
in interface IVec4I
mul
in interface IVecI
public IVec4R mul(double u)
mul
in interface ITransformable
mul
in interface IVec4I
mul
in interface IVecI
public IVec4R div(IDoubleI u)
div
in interface ITransformable
div
in interface IVec4I
div
in interface IVecI
public IVec4R div(double u)
div
in interface ITransformable
div
in interface IVec4I
div
in interface IVecI
public IVec4R neg()
neg
in interface ITransformable
neg
in interface IVec4I
neg
in interface IVecI
public IVec4R rev()
rev
in interface IVec4I
rev
in interface IVecI
public IVec4R flip()
flip
in interface ITransformable
flip
in interface IVec4I
flip
in interface IVecI
public IVec4R zero()
zero
in interface IVec4I
zero
in interface IVecI
public IVec4R add(IVecI v, double f)
add
in interface ITransformable
add
in interface IVec4I
add
in interface IVecI
public IVec4R add(IVecI v, IDoubleI f)
add
in interface ITransformable
add
in interface IVec4I
add
in interface IVecI
public IVec4R add(double f, IVecI v)
add
in interface ITransformable
add
in interface IVec4I
add
in interface IVecI
public IVec4R add(IDoubleI f, IVecI v)
add
in interface ITransformable
add
in interface IVec4I
add
in interface IVecI
public double dot(IVecI u)
IVecI
dot
in interface IVecI
public double dot(double ux, double uy, double uz)
IVecI
dot
in interface IVecI
public double dot(ISwitchE e, IVecI u)
IVecI
dot
in interface IVecI
public IDoubleR dot(ISwitchR r, IVecI u)
IVecI
dot
in interface IVecI
public IVec4R cross(IVecI u)
cross
in interface IVec4I
cross
in interface IVecI
public IVec4R cross(double ux, double uy, double uz)
IVecI
cross
in interface IVec4I
cross
in interface IVecI
public double len()
IVecI
len
in interface IVecI
public double len(ISwitchE e)
IVecI
len
in interface IVecI
public IDoubleR 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 IDoubleR len2(ISwitchR r)
IVecI
len2
in interface IVecI
public IVec4R len(IDoubleI l)
IVec4I
len
in interface IVec4I
len
in interface IVecI
public IVec4R len(double l)
IVec4I
len
in interface IVec4I
len
in interface IVecI
public IVec4R unit()
IVecI
unit
in interface IVec4I
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 IDoubleR 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 IDoubleR 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 IBoolR eq(ISwitchR r, IVecI v)
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 eqW(IVec4I v)
eqW
in interface IVec4I
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 eqW(double vw)
eqW
in interface IVec4I
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 boolean eqW(ISwitchE e, IVec4I v)
eqW
in interface IVec4I
public IBoolR eqX(ISwitchR r, IVecI v)
IVecI
eqX
in interface IVecI
public IBoolR eqY(ISwitchR r, IVecI v)
IVecI
eqY
in interface IVecI
public IBoolR eqZ(ISwitchR r, IVecI v)
IVecI
eqZ
in interface IVecI
public IBoolR eqW(ISwitchR r, IVec4I v)
eqW
in interface IVec4I
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 IBoolR eq(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecI
eq
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 eqW(IVec4I v, double tolerance)
eqW
in interface IVec4I
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 eqW(double vw, double tolerance)
eqW
in interface IVec4I
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 boolean eqW(ISwitchE e, IVec4I v, double tolerance)
eqW
in interface IVec4I
public IBoolR eqX(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecI
eqX
in interface IVecI
public IBoolR eqY(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecI
eqY
in interface IVecI
public IBoolR eqZ(ISwitchR r, IVecI v, IDoubleI tolerance)
IVecI
eqZ
in interface IVecI
public IBoolR eqW(ISwitchR r, IVec4I v, IDoubleI tolerance)
eqW
in interface IVec4I
public double angle(IVecI u)
IVecI
angle
in interface IVecI
public double angle(double ux, double uy, double uz)
IVecI
angle
in interface IVecI
public double angle(ISwitchE e, IVecI u)
IVecI
angle
in interface IVecI
public IDoubleR angle(ISwitchR r, IVecI u)
IVecI
angle
in interface IVecI
public double angle(IVecI u, IVecI axis)
angle
in interface IVecI
axis
- axis to determin sign of angle following right-handed screw rule.
public double angle(double ux, double uy, double uz, double axisX, double axisY, double axisZ)
angle
in interface IVecI
public double angle(ISwitchE e, IVecI u, IVecI axis)
angle
in interface IVecI
axis
- axis to determin sign of angle following right-handed screw rule.
public IDoubleR angle(ISwitchR r, IVecI u, IVecI axis)
angle
in interface IVecI
axis
- axis to determin sign of angle following right-handed screw rule.
public IVec4R rot(IDoubleI angle)
ITransformable
rot
in interface ITransformable
rot
in interface IVec4I
rot
in interface IVecI
public IVec4R rot(double angle)
IVec4I
rot
in interface ITransformable
rot
in interface IVec4I
rot
in interface IVecI
public IVec4R rot(IVecI axis, IDoubleI angle)
ITransformable
rot
in interface ITransformable
rot
in interface IVec4I
rot
in interface IVecI
public IVec4R rot(IVecI axis, double angle)
IVec4I
rot
in interface ITransformable
rot
in interface IVec4I
rot
in interface IVecI
public IVec4R rot(double axisX, double axisY, double axisZ, double angle)
IVec4I
rot
in interface IVec4I
rot
in interface IVecI
public IVec4R rot(IVecI center, IVecI axis, IDoubleI angle)
ITransformable
rot
in interface ITransformable
rot
in interface IVec4I
rot
in interface IVecI
public IVec4R rot(IVecI center, IVecI axis, double angle)
IVec4I
rot
in interface ITransformable
rot
in interface IVec4I
rot
in interface IVecI
public IVec4R rot(double centerX, double centerY, double centerZ, double axisX, double axisY, double axisZ, double angle)
IVec4I
rot
in interface IVec4I
rot
in interface IVecI
public IVec4R rot(IVecI axis, IVecI destDir)
ITransformable
rot
in interface ITransformable
rot
in interface IVec4I
rot
in interface IVecI
public IVec4R rot(IVecI center, IVecI axis, IVecI destPt)
ITransformable
rot
in interface ITransformable
rot
in interface IVec4I
rot
in interface IVecI
public IVec4R rot2(IDoubleI angle)
rot2
in interface ITransformable
rot2
in interface IVec4I
rot2
in interface IVecI
public IVec4R rot2(double angle)
rot2
in interface ITransformable
rot2
in interface IVec4I
rot2
in interface IVecI
public IVec4R rot2(IVecI center, IDoubleI angle)
ITransformable
rot2
in interface ITransformable
rot2
in interface IVec4I
rot2
in interface IVecI
public IVec4R rot2(IVecI center, double angle)
IVec4I
rot2
in interface ITransformable
rot2
in interface IVec4I
rot2
in interface IVecI
public IVec4R rot2(double centerX, double centerY, double angle)
IVec4I
rot2
in interface IVec4I
rot2
in interface IVecI
public IVec4R rot2(IVecI destDir)
ITransformable
rot2
in interface ITransformable
rot2
in interface IVec4I
rot2
in interface IVecI
public IVec4R rot2(IVecI center, IVecI destPt)
ITransformable
rot2
in interface ITransformable
rot2
in interface IVec4I
rot2
in interface IVecI
public IVec4R scale(IDoubleI f)
scale
in interface ITransformable
scale
in interface IVec4I
scale
in interface IVecI
public IVec4R scale(double f)
IVec4I
scale
in interface ITransformable
scale
in interface IVec4I
scale
in interface IVecI
public IVec4R scale(IVecI center, IDoubleI f)
IVec4I
scale
in interface ITransformable
scale
in interface IVec4I
scale
in interface IVecI
public IVec4R scale(IVecI center, double f)
IVec4I
scale
in interface ITransformable
scale
in interface IVec4I
scale
in interface IVecI
public IVec4R scale(double centerX, double centerY, double centerZ, double f)
IVec4I
scale
in interface IVec4I
scale
in interface IVecI
public IVec4R scale1d(IVecI axis, double f)
scale1d
in interface ITransformable
scale1d
in interface IVec4I
scale1d
in interface IVecI
public IVec4R scale1d(double axisX, double axisY, double axisZ, double f)
IVec4I
scale1d
in interface IVec4I
scale1d
in interface IVecI
public IVec4R scale1d(IVecI axis, IDoubleI f)
IVec4I
scale1d
in interface ITransformable
scale1d
in interface IVec4I
scale1d
in interface IVecI
public IVec4R scale1d(IVecI center, IVecI axis, double f)
IVec4I
scale1d
in interface ITransformable
scale1d
in interface IVec4I
scale1d
in interface IVecI
public IVec4R scale1d(double centerX, double centerY, double centerZ, double axisX, double axisY, double axisZ, double f)
IVec4I
scale1d
in interface IVec4I
scale1d
in interface IVecI
public IVec4R scale1d(IVecI center, IVecI axis, IDoubleI f)
IVec4I
scale1d
in interface ITransformable
scale1d
in interface IVec4I
scale1d
in interface IVecI
public IVec4R ref(IVecI planeDir)
ITransformable
ref
in interface ITransformable
ref
in interface IVec4I
ref
in interface IVecI
public IVec4R ref(double planeX, double planeY, double planeZ)
IVec4I
ref
in interface IVec4I
ref
in interface IVecI
public IVec4R ref(IVecI center, IVecI planeDir)
IVec4I
ref
in interface ITransformable
ref
in interface IVec4I
ref
in interface IVecI
public IVec4R ref(double centerX, double centerY, double centerZ, double planeX, double planeY, double planeZ)
IVec4I
ref
in interface IVec4I
ref
in interface IVecI
public IVec4R mirror(IVecI planeDir)
ITransformable
mirror
in interface ITransformable
mirror
in interface IVec4I
mirror
in interface IVecI
public IVec4R mirror(double planeX, double planeY, double planeZ)
IVec4I
mirror
in interface IVec4I
mirror
in interface IVecI
public IVec4R mirror(IVecI center, IVecI planeDir)
IVec4I
mirror
in interface ITransformable
mirror
in interface IVec4I
mirror
in interface IVecI
public IVec4R mirror(double centerX, double centerY, double centerZ, double planeX, double planeY, double planeZ)
IVec4I
mirror
in interface IVec4I
mirror
in interface IVecI
public IVec4R shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
shear
in interface IVec4I
shear
in interface IVecI
public IVec4R shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
IVec4I
shear
in interface ITransformable
shear
in interface IVec4I
shear
in interface IVecI
public IVec4R shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
IVec4I
shear
in interface ITransformable
shear
in interface IVec4I
shear
in interface IVecI
public IVec4R shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
IVec4I
shear
in interface ITransformable
shear
in interface IVec4I
shear
in interface IVecI
public IVec4R shearXY(double sxy, double syx)
IVec4I
shearXY
in interface ITransformable
shearXY
in interface IVec4I
shearXY
in interface IVecI
public IVec4R shearXY(IDoubleI sxy, IDoubleI syx)
IVec4I
shearXY
in interface ITransformable
shearXY
in interface IVec4I
shearXY
in interface IVecI
public IVec4R shearXY(IVecI center, double sxy, double syx)
IVec4I
shearXY
in interface ITransformable
shearXY
in interface IVec4I
shearXY
in interface IVecI
public IVec4R shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
IVec4I
shearXY
in interface ITransformable
shearXY
in interface IVec4I
shearXY
in interface IVecI
public IVec4R shearYZ(double syz, double szy)
IVec4I
shearYZ
in interface ITransformable
shearYZ
in interface IVec4I
shearYZ
in interface IVecI
public IVec4R shearYZ(IDoubleI syz, IDoubleI szy)
IVec4I
shearYZ
in interface ITransformable
shearYZ
in interface IVec4I
shearYZ
in interface IVecI
public IVec4R shearYZ(IVecI center, double syz, double szy)
IVec4I
shearYZ
in interface ITransformable
shearYZ
in interface IVec4I
shearYZ
in interface IVecI
public IVec4R shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
IVec4I
shearYZ
in interface ITransformable
shearYZ
in interface IVec4I
shearYZ
in interface IVecI
public IVec4R shearZX(double szx, double sxz)
IVec4I
shearZX
in interface ITransformable
shearZX
in interface IVec4I
shearZX
in interface IVecI
public IVec4R shearZX(IDoubleI szx, IDoubleI sxz)
IVec4I
shearZX
in interface ITransformable
shearZX
in interface IVec4I
shearZX
in interface IVecI
public IVec4R shearZX(IVecI center, double szx, double sxz)
IVec4I
shearZX
in interface ITransformable
shearZX
in interface IVec4I
shearZX
in interface IVecI
public IVec4R shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
IVec4I
shearZX
in interface ITransformable
shearZX
in interface IVec4I
shearZX
in interface IVecI
public IVec4R translate(double x, double y, double z)
translate
in interface ITransformable
translate
in interface IVec4I
translate
in interface IVecI
public IVec4R translate(IDoubleI x, IDoubleI y, IDoubleI z)
IVec4I
translate
in interface ITransformable
translate
in interface IVec4I
translate
in interface IVecI
public IVec4R translate(IVecI v)
IVec4I
translate
in interface ITransformable
translate
in interface IVec4I
translate
in interface IVecI
public IVec4R transform(IMatrix3I mat)
IVec4I
transform
in interface ITransformable
transform
in interface IVec4I
transform
in interface IVecI
public IVec4R transform(IMatrix4I mat)
IVec4I
transform
in interface ITransformable
transform
in interface IVec4I
transform
in interface IVecI
public IVec4R transform(IVecI xvec, IVecI yvec, IVecI zvec)
IVec4I
transform
in interface ITransformable
transform
in interface IVec4I
transform
in interface IVecI
public IVec4R transform(IVecI xvec, IVecI yvec, IVecI zvec, IVecI translate)
IVec4I
transform
in interface ITransformable
transform
in interface IVec4I
transform
in interface IVecI
public IVec4R mv(double x, double y, double z)
mv
in interface ITransformable
mv
in interface IVec4I
mv
in interface IVecI
public IVec4R mv(IDoubleI x, IDoubleI y, IDoubleI z)
IVec4I
mv
in interface ITransformable
mv
in interface IVec4I
mv
in interface IVecI
public IVec4R mv(IVecI v)
IVec4I
mv
in interface ITransformable
mv
in interface IVec4I
mv
in interface IVecI
public IVec4R cp()
cp
in interface ITransformable
cp
in interface IVec4I
cp
in interface IVecI
public IVec4R cp(double x, double y, double z)
cp
in interface ITransformable
cp
in interface IVec4I
cp
in interface IVecI
public IVec4R cp(IDoubleI x, IDoubleI y, IDoubleI z)
IVec4I
cp
in interface ITransformable
cp
in interface IVec4I
cp
in interface IVecI
public IVec4R cp(IVecI v)
IVec4I
cp
in interface ITransformable
cp
in interface IVec4I
cp
in interface IVecI
public IVec4R dif(IVecI v)
IVec4I
dif
in interface IVec4I
dif
in interface IVecI
public IVec4R dif(double vx, double vy, double vz)
IVec4I
dif
in interface IVec4I
dif
in interface IVecI
public IVec4R diff(IVecI v)
IVec4I
diff
in interface IVec4I
diff
in interface IVecI
public IVec4R diff(double vx, double vy, double vz)
IVec4I
diff
in interface IVec4I
diff
in interface IVecI
public IVec4R mid(IVecI v)
IVec4I
mid
in interface IVec4I
mid
in interface IVecI
public IVec4R mid(double vx, double vy, double vz)
IVec4I
mid
in interface IVec4I
mid
in interface IVecI
public IVec4R sum(IVecI v)
IVec4I
sum
in interface IVec4I
sum
in interface IVecI
public IVec4R sum(double vx, double vy, double vz)
IVec4I
sum
in interface IVec4I
sum
in interface IVecI
public IVec4R sum(IVecI... v)
IVec4I
sum
in interface IVec4I
sum
in interface IVecI
public IVec4R bisect(IVecI v)
IVec4I
bisect
in interface IVec4I
bisect
in interface IVecI
public IVec4R bisect(double vx, double vy, double vz)
IVec4I
bisect
in interface IVec4I
bisect
in interface IVecI
public IVec4R sum(IVecI v2, IDoubleI w1, IDoubleI w2)
sum
in interface IVec4I
sum
in interface IVecI
public IVec4R sum(IVecI v2, IDoubleI w2)
IVec4I
sum
in interface IVec4I
sum
in interface IVecI
public IVec4R sum(IVecI v2, double w1, double w2)
IVec4I
sum
in interface IVec4I
sum
in interface IVecI
public IVec4R sum(IVecI v2, double w2)
IVec4I
sum
in interface IVec4I
sum
in interface IVecI
public IVec4R nml(IVecI v)
nml
in interface IVec4I
nml
in interface IVecI
public IVec4R nml(double vx, double vy, double vz)
nml
in interface IVec4I
nml
in interface IVecI
public IVec4R nml(IVecI pt1, IVecI pt2)
nml
in interface IVec4I
nml
in interface IVecI
public IVec4R nml(double vx1, double vy1, double vz1, double vx2, double vy2, double vz2)
nml
in interface IVec4I
nml
in interface IVecI
public boolean isValid()
isValid
in interface IVecI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |