public interface IVec4I extends IVec4Op, IVecI
Modifier and Type | Method and Description |
---|---|
IVec4I |
add(double f,
IVecI v)
scale add alias
|
IVec4I |
add(IDoubleI f,
IVecI v)
scale add alias
|
IVec4I |
add(IVecI v) |
IVec4I |
add(IVecI v,
double f)
scale add
|
IVec4I |
add(IVecI v,
IDoubleI f)
scale add
|
IVec4I |
bisect(double vx,
double vy,
double vz)
create a new instance of bisector
|
IVec4I |
bisect(IVecI v)
create a new instance of bisector
|
IVec4I |
cp()
cp() is alias of dup()
|
IVec4I |
cp(double x,
double y,
double z)
cp() is alias of dup().add()
|
IVec4I |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z)
cp() is alias of dup().add()
|
IVec4I |
cp(IVecI v)
cp() is alias of dup().add()
|
IVec4I |
cross(double vx,
double vy,
double vz)
cross product, creating a new instance
|
IVec4I |
cross(IVecI v)
cross product, creating a new instance
|
IVec4I |
dif(double vx,
double vy,
double vz)
create a new instance of difference
|
IVec4I |
dif(IVecI v)
create a new instance of difference
|
IVec4I |
diff(double vx,
double vy,
double vz)
alias of dif
|
IVec4I |
diff(IVecI v)
alias of dif
|
IVec4I |
div(double v) |
IVec4I |
div(IDoubleI v) |
IVec4I |
dup()
duplicate the instance
|
boolean |
eqW(double vw) |
boolean |
eqW(double vw,
double tolerance) |
boolean |
eqW(ISwitchE e,
IVec4I v) |
boolean |
eqW(ISwitchE e,
IVec4I v,
double tolerance) |
IBoolI |
eqW(ISwitchR r,
IVec4I v) |
IBoolI |
eqW(ISwitchR r,
IVec4I v,
IDoubleI tolerance) |
boolean |
eqW(IVec4I v) |
boolean |
eqW(IVec4I v,
double tolerance) |
IVec4I |
flip()
alias of neg()
|
IVec4 |
get() |
IDoubleI |
getW() |
IDoubleI |
getX() |
IDoubleI |
getY() |
IDoubleI |
getZ() |
IVec4I |
len(double l)
setting length
|
IVec4I |
len(IDoubleI l)
setting length
|
IVec4I |
mid(double vx,
double vy,
double vz)
create a new instance of midpoint
|
IVec4I |
mid(IVecI v)
create a new instance of midpoint
|
IVec4I |
mirror(double planeX,
double planeY,
double planeZ)
alias of ref
|
IVec4I |
mirror(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
alias of ref
|
IVec4I |
mirror(IVecI planeDir)
alias of ref
|
IVec4I |
mirror(IVecI center,
IVecI planeDir)
alias of ref
|
IVec4I |
mul(double v) |
IVec4I |
mul(IDoubleI v) |
IVec4I |
mv(double x,
double y,
double z)
mv() is alias of add()
|
IVec4I |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z)
mv() is alias of add()
|
IVec4I |
mv(IVecI v)
mv() is alias of add()
|
IVec4I |
neg() |
IVec4I |
nml(double vx,
double vy,
double vz)
alias of cross
|
IVec4I |
nml(double vx1,
double vy1,
double vz1,
double vx2,
double vy2,
double vz2)
create normal vector from 3 points of self, pt1 and pt2
|
IVec4I |
nml(IVecI v)
alias of cross
|
IVec4I |
nml(IVecI pt1,
IVecI pt2)
create normal vector from 3 points of self, pt1 and pt2
|
IVec4I |
ref(double planeX,
double planeY,
double planeZ)
reflect(mirror) 3 dimensionally to the other side of the plane
|
IVec4I |
ref(double centerX,
double centerY,
double centerZ,
double planeX,
double planeY,
double planeZ)
reflect(mirror) 3 dimensionally to the other side of the plane
|
IVec4I |
ref(IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane
|
IVec4I |
ref(IVecI center,
IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane
|
IVec4I |
rev()
alias of neg()
|
IVec4I |
rot(double angle)
rotation on xy-plane
|
IVec4I |
rot(double vx,
double vy,
double vz,
double angle)
rotation around axis
|
IVec4I |
rot(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double angle)
rotation around axis and center
|
IVec4I |
rot(IDoubleI angle)
rotation on xy-plane
|
IVec4I |
rot(IVecI axis,
double angle)
rotation around axis
|
IVec4I |
rot(IVecI axis,
IDoubleI angle)
rotation around axis
|
IVec4I |
rot(IVecI axis,
IVecI destDir)
rotation around axis towards destination direction
|
IVec4I |
rot(IVecI center,
IVecI axis,
double angle)
rotation around axis and center
|
IVec4I |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
rotation around axis and center
|
IVec4I |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotation around axis and center towards destination point
|
IVec4I |
rot2(double angle)
rotation on xy-plane; alias of rot(double)
|
IVec4I |
rot2(double centerX,
double centerY,
double angle)
rotation on xy-plane at center
|
IVec4I |
rot2(IDoubleI angle)
rotation on xy-plane; alias of rot(IDoubleI)
|
IVec4I |
rot2(IVecI destDir)
rotation on xy-plane towards destination direction
|
IVec4I |
rot2(IVecI center,
double angle)
rotation on xy-plane at center
|
IVec4I |
rot2(IVecI center,
IDoubleI angle)
rotation on xy-plane at center
|
IVec4I |
rot2(IVecI center,
IVecI destPt)
rotation on xy-plane at center towards destination point
|
IVec4I |
scale(double f)
alias of mul
|
IVec4I |
scale(double centerX,
double centerY,
double centerZ,
double f)
scale around center
|
IVec4I |
scale(IDoubleI f)
alias of mul
|
IVec4I |
scale(IVecI center,
double f)
scale around center
|
IVec4I |
scale(IVecI center,
IDoubleI f)
scale around center
|
IVec4I |
scale1d(double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction
|
IVec4I |
scale1d(double centerX,
double centerY,
double centerZ,
double axisX,
double axisY,
double axisZ,
double f)
scale only in 1 direction from a center
|
IVec4I |
scale1d(IVecI axis,
double f)
scale only in 1 direction
|
IVec4I |
scale1d(IVecI axis,
IDoubleI f)
scale only in 1 direction
|
IVec4I |
scale1d(IVecI center,
IVecI axis,
double f)
scale only in 1 direction from a center
|
IVec4I |
scale1d(IVecI center,
IVecI axis,
IDoubleI f)
scale only in 1 direction from a center
|
IVec4I |
set(double x,
double y,
double z) |
IVec4I |
set(double x,
double y,
double z,
double w) |
IVec4I |
set(IDoubleI x,
IDoubleI y,
IDoubleI z) |
IVec4I |
set(IDoubleI x,
IDoubleI y,
IDoubleI z,
IDoubleI w) |
IVec4I |
set(IVec4I v) |
IVec4I |
set(IVecI v) |
IVec4I |
set(IVecI v,
double w) |
IVec4I |
set(IVecI v,
IDoubleI w) |
IVec4I |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation
|
IVec4I |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation
|
IVec4I |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation
|
IVec4I |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear operation
|
IVec4I |
shearXY(double sxy,
double syx)
shear operation on XY
|
IVec4I |
shearXY(IDoubleI sxy,
IDoubleI syx)
shear operation on XY
|
IVec4I |
shearXY(IVecI center,
double sxy,
double syx)
shear operation on XY
|
IVec4I |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
shear operation on XY
|
IVec4I |
shearYZ(double syz,
double szy)
shear operation on YZ
|
IVec4I |
shearYZ(IDoubleI syz,
IDoubleI szy)
shear operation on YZ
|
IVec4I |
shearYZ(IVecI center,
double syz,
double szy)
shear operation on YZ
|
IVec4I |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
shear operation on YZ
|
IVec4I |
shearZX(double szx,
double sxz)
shear operation on ZX
|
IVec4I |
shearZX(IDoubleI szx,
IDoubleI sxz)
shear operation on ZX
|
IVec4I |
shearZX(IVecI center,
double szx,
double sxz)
shear operation on ZX
|
IVec4I |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
shear operation on ZX
|
IVec4I |
sub(IVecI v) |
IVec4I |
sum(double vx,
double vy,
double vz)
create a new instance of total summation
|
IVec4I |
sum(IVecI... v)
create a new instance of total summation
|
IVec4I |
sum(IVecI v)
create a new instance of total summation
|
IVec4I |
sum(IVecI v2,
double w2)
create a new instance of weighted sum
|
IVec4I |
sum(IVecI v2,
double w1,
double w2)
create a new instance of weighted sum
|
IVec4I |
sum(IVecI v2,
IDoubleI w2)
create a new instance of weighted sum
|
IVec4I |
sum(IVecI v2,
IDoubleI w1,
IDoubleI w2)
create a new instance of weighted sum
|
IVec2I |
to2d() |
IVecI |
to3d() |
IVec4I |
transform(IMatrix3I mat)
transform with a transformation matrix
|
IVec4I |
transform(IMatrix4I mat)
transform with a transformation matrix
|
IVec4I |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
transform with a transformation vectors
|
IVec4I |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
transform with a transformation vectors
|
IVec4I |
translate(double x,
double y,
double z)
alias of add()
|
IVec4I |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
alias of add()
|
IVec4I |
translate(IVecI v)
alias of add()
|
IVec4I |
unit()
unitize
|
double |
w()
getting w component
|
IVec4I |
w(double vz)
setting w component
|
IVec4I |
w(IDoubleI vz)
setting w component
|
double |
w(ISwitchE e)
getting z component
|
IDoubleI |
w(ISwitchR r)
getting z component
|
IVec4I |
w(IVec4I v)
setting w component by w component of input vector
|
double |
x()
getting x component
|
IVec4I |
x(double vx)
setting x component
|
IVec4I |
x(IDoubleI vx)
setting x component
|
double |
x(ISwitchE e)
getting x component
|
IDoubleI |
x(ISwitchR r)
getting x component
|
IVec4I |
x(IVec2I v)
setting x component by x component of input vector
|
IVec4I |
x(IVecI v)
setting x component by x component of input vector
|
double |
y()
getting y component
|
IVec4I |
y(double vy)
setting y component
|
IVec4I |
y(IDoubleI vy)
setting y component
|
double |
y(ISwitchE e)
getting y component
|
IDoubleI |
y(ISwitchR r)
getting y component
|
IVec4I |
y(IVec2I v)
setting y component by y component of input vector
|
IVec4I |
y(IVecI v)
setting y component by y component of input vector
|
double |
z()
getting z component
|
IVec4I |
z(double vz)
setting z component
|
IVec4I |
z(IDoubleI vz)
setting z component
|
double |
z(ISwitchE e)
getting z component
|
IDoubleI |
z(ISwitchR r)
getting z component
|
IVec4I |
z(IVecI v)
setting z component by z component of input vector
|
IVec4I |
zero()
setting all zero
|
add, add, angle, angle, angle, angle, angle, angle, angle, angle, dist, dist, dist, dist, dist2, dist2, dist2, dist2, dot, dot, dot, dot, eq, eq, eq, eq, eq, eq, eq, eq, eqX, eqX, eqX, eqX, eqX, eqX, eqX, eqX, eqY, eqY, eqY, eqY, eqY, eqY, eqY, eqY, eqZ, eqZ, eqZ, eqZ, eqZ, eqZ, eqZ, eqZ, isValid, len, len, len, len2, len2, len2, sub, sub, to2d, to2d, to2d, to4d, to4d, to4d
double w()
IVec4I w(double vz)
double w(ISwitchE e)
IVec4 get()
IVec4I dup()
ITransformable
dup
in interface IArithmeticVal<IVecI,IDoubleI>
dup
in interface ITransformable
dup
in interface IVecI
IVecI to3d()
IDoubleI getW()
IVec4I set(double x, double y, double z, double w)
IVec4I add(IVecI v)
add
in interface IArithmeticVal<IVecI,IDoubleI>
add
in interface ITransformable
add
in interface IVecI
IVec4I sub(IVecI v)
sub
in interface IArithmeticVal<IVecI,IDoubleI>
sub
in interface ITransformable
sub
in interface IVecI
IVec4I mul(IDoubleI v)
mul
in interface IArithmeticVal<IVecI,IDoubleI>
mul
in interface ITransformable
mul
in interface IVecI
IVec4I mul(double v)
mul
in interface ITransformable
mul
in interface IVecI
IVec4I div(IDoubleI v)
div
in interface IArithmeticVal<IVecI,IDoubleI>
div
in interface ITransformable
div
in interface IVecI
IVec4I div(double v)
div
in interface ITransformable
div
in interface IVecI
IVec4I neg()
neg
in interface ITransformable
neg
in interface IVecI
IVec4I flip()
flip
in interface ITransformable
flip
in interface IVecI
IVec4I zero()
IVec4I add(IVecI v, double f)
add
in interface ITransformable
add
in interface IVecI
IVec4I add(IVecI v, IDoubleI f)
add
in interface ITransformable
add
in interface IVecI
IVec4I add(double f, IVecI v)
add
in interface ITransformable
add
in interface IVecI
IVec4I add(IDoubleI f, IVecI v)
add
in interface ITransformable
add
in interface IVecI
IVec4I cross(IVecI v)
IVecI
IVec4I cross(double vx, double vy, double vz)
IVecI
boolean eqW(IVec4I v)
boolean eqW(double vw)
boolean eqW(IVec4I v, double tolerance)
boolean eqW(double vw, double tolerance)
IVec4I rot(IDoubleI angle)
rot
in interface ITransformable
rot
in interface IVecI
IVec4I rot(double angle)
rot
in interface ITransformable
rot
in interface IVecI
IVec4I rot(IVecI axis, IDoubleI angle)
rot
in interface ITransformable
rot
in interface IVecI
IVec4I rot(IVecI axis, double angle)
rot
in interface ITransformable
rot
in interface IVecI
IVec4I rot(double vx, double vy, double vz, double angle)
IVec4I rot(IVecI center, IVecI axis, IDoubleI angle)
rot
in interface ITransformable
rot
in interface IVecI
IVec4I rot(IVecI center, IVecI axis, double angle)
rot
in interface ITransformable
rot
in interface IVecI
IVec4I rot(double centerX, double centerY, double centerZ, double axisX, double axisY, double axisZ, double angle)
IVec4I rot(IVecI axis, IVecI destDir)
rot
in interface ITransformable
rot
in interface IVecI
IVec4I rot(IVecI center, IVecI axis, IVecI destPt)
rot
in interface ITransformable
rot
in interface IVecI
IVec4I rot2(IDoubleI angle)
rot2
in interface ITransformable
rot2
in interface IVecI
IVec4I rot2(double angle)
rot2
in interface ITransformable
rot2
in interface IVecI
IVec4I rot2(IVecI center, IDoubleI angle)
rot2
in interface ITransformable
rot2
in interface IVecI
IVec4I rot2(IVecI center, double angle)
rot2
in interface ITransformable
rot2
in interface IVecI
IVec4I rot2(double centerX, double centerY, double angle)
IVec4I rot2(IVecI destDir)
rot2
in interface ITransformable
rot2
in interface IVecI
IVec4I rot2(IVecI center, IVecI destPt)
rot2
in interface ITransformable
rot2
in interface IVecI
IVec4I scale(IDoubleI f)
scale
in interface ITransformable
scale
in interface IVecI
IVec4I scale(double f)
scale
in interface ITransformable
scale
in interface IVecI
IVec4I scale(IVecI center, IDoubleI f)
scale
in interface ITransformable
scale
in interface IVecI
IVec4I scale(IVecI center, double f)
scale
in interface ITransformable
scale
in interface IVecI
IVec4I scale(double centerX, double centerY, double centerZ, double f)
IVec4I scale1d(IVecI axis, double f)
scale1d
in interface ITransformable
scale1d
in interface IVecI
IVec4I scale1d(IVecI axis, IDoubleI f)
scale1d
in interface ITransformable
scale1d
in interface IVecI
IVec4I scale1d(double axisX, double axisY, double axisZ, double f)
IVec4I scale1d(IVecI center, IVecI axis, double f)
scale1d
in interface ITransformable
scale1d
in interface IVecI
IVec4I scale1d(IVecI center, IVecI axis, IDoubleI f)
scale1d
in interface ITransformable
scale1d
in interface IVecI
IVec4I scale1d(double centerX, double centerY, double centerZ, double axisX, double axisY, double axisZ, double f)
IVec4I ref(IVecI planeDir)
ref
in interface ITransformable
ref
in interface IVecI
IVec4I ref(double planeX, double planeY, double planeZ)
IVec4I ref(IVecI center, IVecI planeDir)
ref
in interface ITransformable
ref
in interface IVecI
IVec4I ref(double centerX, double centerY, double centerZ, double planeX, double planeY, double planeZ)
IVec4I mirror(IVecI planeDir)
mirror
in interface ITransformable
mirror
in interface IVecI
IVec4I mirror(double planeX, double planeY, double planeZ)
IVec4I mirror(IVecI center, IVecI planeDir)
mirror
in interface ITransformable
mirror
in interface IVecI
IVec4I mirror(double centerX, double centerY, double centerZ, double planeX, double planeY, double planeZ)
IVec4I shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
shear
in interface IVecI
IVec4I shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear
in interface ITransformable
shear
in interface IVecI
IVec4I shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
shear
in interface ITransformable
shear
in interface IVecI
IVec4I shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
shear
in interface ITransformable
shear
in interface IVecI
IVec4I shearXY(double sxy, double syx)
shearXY
in interface ITransformable
shearXY
in interface IVecI
IVec4I shearXY(IDoubleI sxy, IDoubleI syx)
shearXY
in interface ITransformable
shearXY
in interface IVecI
IVec4I shearXY(IVecI center, double sxy, double syx)
shearXY
in interface ITransformable
shearXY
in interface IVecI
IVec4I shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
shearXY
in interface ITransformable
shearXY
in interface IVecI
IVec4I shearYZ(double syz, double szy)
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
IVec4I shearYZ(IDoubleI syz, IDoubleI szy)
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
IVec4I shearYZ(IVecI center, double syz, double szy)
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
IVec4I shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
shearYZ
in interface ITransformable
shearYZ
in interface IVecI
IVec4I shearZX(double szx, double sxz)
shearZX
in interface ITransformable
shearZX
in interface IVecI
IVec4I shearZX(IDoubleI szx, IDoubleI sxz)
shearZX
in interface ITransformable
shearZX
in interface IVecI
IVec4I shearZX(IVecI center, double szx, double sxz)
shearZX
in interface ITransformable
shearZX
in interface IVecI
IVec4I shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
shearZX
in interface ITransformable
shearZX
in interface IVecI
IVec4I translate(double x, double y, double z)
translate
in interface ITransformable
translate
in interface IVecI
IVec4I translate(IDoubleI x, IDoubleI y, IDoubleI z)
translate
in interface ITransformable
translate
in interface IVecI
IVec4I translate(IVecI v)
translate
in interface ITransformable
translate
in interface IVecI
IVec4I transform(IMatrix3I mat)
transform
in interface ITransformable
transform
in interface IVecI
IVec4I transform(IMatrix4I mat)
transform
in interface ITransformable
transform
in interface IVecI
IVec4I transform(IVecI xvec, IVecI yvec, IVecI zvec)
transform
in interface ITransformable
transform
in interface IVecI
IVec4I transform(IVecI xvec, IVecI yvec, IVecI zvec, IVecI translate)
transform
in interface ITransformable
transform
in interface IVecI
IVec4I mv(double x, double y, double z)
mv
in interface ITransformable
mv
in interface IVecI
IVec4I mv(IDoubleI x, IDoubleI y, IDoubleI z)
mv
in interface ITransformable
mv
in interface IVecI
IVec4I mv(IVecI v)
mv
in interface ITransformable
mv
in interface IVecI
IVec4I cp()
cp
in interface IArithmeticVal<IVecI,IDoubleI>
cp
in interface ITransformable
cp
in interface IVecI
IVec4I cp(double x, double y, double z)
cp
in interface ITransformable
cp
in interface IVecI
IVec4I cp(IDoubleI x, IDoubleI y, IDoubleI z)
cp
in interface ITransformable
cp
in interface IVecI
IVec4I cp(IVecI v)
cp
in interface ITransformable
cp
in interface IVecI
IVec4I dif(double vx, double vy, double vz)
IVec4I diff(double vx, double vy, double vz)
IVec4I mid(double vx, double vy, double vz)
IVec4I sum(double vx, double vy, double vz)
IVec4I bisect(double vx, double vy, double vz)