|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVec4I
Abstract interface of 4 dimensional vector. 4 dimensional vector is mainly used for control points of NURBS geometry to include weights
Method Summary | |
---|---|
IVec4I |
add(IVecI v)
|
IVec4I |
add(IVecI v,
double f)
scale add |
IVec4I |
add(IVecI v,
IDoubleI f)
|
IVec4I |
bisect(IVecI v)
|
IVec4I |
cross(IVecI v)
cross product creates a new instance |
IVec4I |
diff(IVecI v)
|
IVec4I |
div(double v)
|
IVec4I |
div(IDoubleI v)
|
IVec4I |
dup()
duplicate the instance |
boolean |
eqW(ISwitchE e,
IVec4I v)
|
boolean |
eqW(ISwitchE e,
IVec4I v,
double resolution)
|
IBoolI |
eqW(ISwitchR r,
IVec4I v)
|
IBoolI |
eqW(ISwitchR r,
IVec4I v,
IDoubleI resolution)
|
boolean |
eqW(IVec4I v)
|
boolean |
eqW(IVec4I v,
double resolution)
|
boolean |
eqX(ISwitchE e,
IVecI v)
|
boolean |
eqX(ISwitchE e,
IVecI v,
double resolution)
|
IBoolI |
eqX(ISwitchR r,
IVecI v)
|
IBoolI |
eqX(ISwitchR r,
IVecI v,
IDoubleI resolution)
|
boolean |
eqX(IVecI v)
|
boolean |
eqX(IVecI v,
double resolution)
|
boolean |
eqY(ISwitchE e,
IVecI v)
|
boolean |
eqY(ISwitchE e,
IVecI v,
double resolution)
|
IBoolI |
eqY(ISwitchR r,
IVecI v)
|
IBoolI |
eqY(ISwitchR r,
IVecI v,
IDoubleI resolution)
|
boolean |
eqY(IVecI v)
|
boolean |
eqY(IVecI v,
double resolution)
|
boolean |
eqZ(ISwitchE e,
IVecI v)
|
boolean |
eqZ(ISwitchE e,
IVecI v,
double resolution)
|
IBoolI |
eqZ(ISwitchR r,
IVecI v)
|
IBoolI |
eqZ(ISwitchR r,
IVecI v,
IDoubleI resolution)
|
boolean |
eqZ(IVecI v)
|
boolean |
eqZ(IVecI v,
double resolution)
|
IVec4 |
get()
|
IDoubleI |
getW()
|
IDoubleI |
getX()
|
IDoubleI |
getY()
|
IDoubleI |
getZ()
|
boolean |
isValid()
checking x, y, and z is valid number (not Infinite, nor NaN). |
IVec4I |
len(double l)
|
IVec4I |
len(IDoubleI l)
|
IVec4I |
mid(IVecI v)
|
IVec4I |
mirror(IVecI planeDir)
mirror is alias of ref |
IVec4I |
mirror(IVecI center,
IVecI planeDir)
|
IVec4I |
mul(double v)
|
IVec4I |
mul(IDoubleI v)
|
IVec4I |
neg()
|
IVec4I |
rev()
alias of neg() |
IVec4I |
rot(IVecI axis,
double angle)
|
IVec4I |
rot(IVecI axis,
IDoubleI angle)
|
IVec4I |
rot(IVecI axis,
IVecI destDir)
rotate to destination direction vector |
IVec4I |
rot(IVecI center,
IVecI axis,
double angle)
|
IVec4I |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
|
IVec4I |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotate to destination point location |
IVec4I |
scale(double f)
|
IVec4I |
scale(IDoubleI f)
alias of mul |
IVec4I |
scale(IVecI center,
double f)
|
IVec4I |
scale(IVecI center,
IDoubleI f)
|
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 |
sub(IVecI v)
|
IVec4I |
sum(IVecI... v)
|
IVec4I |
sum(IVecI v)
|
IVec4I |
sum(IVecI v2,
double w2)
|
IVec4I |
sum(IVecI v2,
double w1,
double w2)
weighted sum |
IVec4I |
sum(IVecI v2,
IDoubleI w2)
|
IVec4I |
sum(IVecI v2,
IDoubleI w1,
IDoubleI w2)
|
IVec2I |
to2d()
|
IVecI |
to3d()
|
IVec4I |
transform(IMatrix3I mat)
|
IVec4I |
transform(IMatrix4I mat)
|
IVec4I |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
|
IVec4I |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
|
IVec4I |
unit()
|
double |
w()
|
double |
x()
|
double |
y()
|
double |
z()
|
Methods inherited from interface igeo.IVecI |
---|
add, add, angle, angle, angle, angle, angle, angle, cp, cp, cp, cp, dist, dist, dist, dist2, dist2, dist2, dot, dot, dot, eq, eq, eq, eq, eq, eq, flip, len, len, len, len2, len2, len2, mv, mv, mv, nml, nml, ref, ref, scale1d, scale1d, scale1d, scale1d, shear, shear, shear, shear, shearXY, shearXY, shearXY, shearXY, shearYZ, shearYZ, shearYZ, shearYZ, shearZX, shearZX, shearZX, shearZX, sub, sub, to4d, to4d, to4d, translate, translate, translate |
Method Detail |
---|
double x()
x
in interface IVecI
double y()
y
in interface IVecI
double z()
z
in interface IVecI
double w()
IVec4 get()
get
in interface IParameter
get
in interface IVec4Op
get
in interface IVecI
get
in interface IVecOp
IVec4I dup()
ITransformable
dup
in interface ITransformable
dup
in interface IVecI
IVec2I to2d()
to2d
in interface IVecI
IVecI to3d()
IDoubleI getX()
getX
in interface IVecI
IDoubleI getY()
getY
in interface IVecI
IDoubleI getZ()
getZ
in interface IVecI
IDoubleI getW()
IVec4I set(double x, double y, double z, double w)
IVec4I set(IDoubleI x, IDoubleI y, IDoubleI z, IDoubleI w)
IVec4I set(IVecI v, double w)
IVec4I set(IVecI v, IDoubleI w)
IVec4I set(IVec4I v)
IVec4I set(IVecI v)
set
in interface IVecI
IVec4I set(double x, double y, double z)
set
in interface IVecI
IVec4I set(IDoubleI x, IDoubleI y, IDoubleI z)
set
in interface IVecI
IVec4I add(IVecI v)
add
in interface ITransformable
add
in interface IVecI
IVec4I sub(IVecI v)
sub
in interface ITransformable
sub
in interface IVecI
IVec4I mul(IDoubleI v)
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 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 rev()
IVecI
rev
in interface IVecI
IVec4I add(IVecI v, double f)
ITransformable
add
in interface ITransformable
add
in interface IVecI
IVec4I add(IVecI v, IDoubleI f)
add
in interface ITransformable
add
in interface IVecI
IVec4I len(IDoubleI l)
len
in interface IVecI
IVec4I len(double l)
len
in interface IVecI
IVec4I unit()
unit
in interface IVecI
IVec4I cross(IVecI v)
IVecI
cross
in interface IVecI
boolean eqX(IVecI v)
eqX
in interface IVecI
boolean eqY(IVecI v)
eqY
in interface IVecI
boolean eqZ(IVecI v)
eqZ
in interface IVecI
boolean eqW(IVec4I v)
boolean eqX(ISwitchE e, IVecI v)
eqX
in interface IVecI
boolean eqY(ISwitchE e, IVecI v)
eqY
in interface IVecI
boolean eqZ(ISwitchE e, IVecI v)
eqZ
in interface IVecI
boolean eqW(ISwitchE e, IVec4I v)
IBoolI eqX(ISwitchR r, IVecI v)
eqX
in interface IVecI
IBoolI eqY(ISwitchR r, IVecI v)
eqY
in interface IVecI
IBoolI eqZ(ISwitchR r, IVecI v)
eqZ
in interface IVecI
IBoolI eqW(ISwitchR r, IVec4I v)
boolean eqX(IVecI v, double resolution)
eqX
in interface IVecI
boolean eqY(IVecI v, double resolution)
eqY
in interface IVecI
boolean eqZ(IVecI v, double resolution)
eqZ
in interface IVecI
boolean eqW(IVec4I v, double resolution)
boolean eqX(ISwitchE e, IVecI v, double resolution)
eqX
in interface IVecI
boolean eqY(ISwitchE e, IVecI v, double resolution)
eqY
in interface IVecI
boolean eqZ(ISwitchE e, IVecI v, double resolution)
eqZ
in interface IVecI
boolean eqW(ISwitchE e, IVec4I v, double resolution)
IBoolI eqX(ISwitchR r, IVecI v, IDoubleI resolution)
eqX
in interface IVecI
IBoolI eqY(ISwitchR r, IVecI v, IDoubleI resolution)
eqY
in interface IVecI
IBoolI eqZ(ISwitchR r, IVecI v, IDoubleI resolution)
eqZ
in interface IVecI
IBoolI eqW(ISwitchR r, IVec4I v, IDoubleI resolution)
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(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(IVecI axis, IVecI destDir)
ITransformable
rot
in interface ITransformable
rot
in interface IVecI
IVec4I rot(IVecI center, IVecI axis, IVecI destPt)
ITransformable
rot
in interface ITransformable
rot
in interface IVecI
IVec4I scale(IDoubleI f)
ITransformable
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 mirror(IVecI planeDir)
ITransformable
mirror
in interface ITransformable
mirror
in interface IVecI
IVec4I mirror(IVecI center, IVecI planeDir)
mirror
in interface ITransformable
mirror
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 diff(IVecI v)
diff
in interface IVecI
IVec4I mid(IVecI v)
mid
in interface IVecI
IVec4I sum(IVecI v)
sum
in interface IVecI
IVec4I sum(IVecI... v)
sum
in interface IVecI
IVec4I bisect(IVecI v)
bisect
in interface IVecI
IVec4I sum(IVecI v2, double w1, double w2)
IVecI
sum
in interface IVecI
IVec4I sum(IVecI v2, double w2)
sum
in interface IVecI
IVec4I sum(IVecI v2, IDoubleI w1, IDoubleI w2)
sum
in interface IVecI
IVec4I sum(IVecI v2, IDoubleI w2)
sum
in interface IVecI
boolean isValid()
isValid
in interface IVecI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |