|
|||||||||
| 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 IVecIdouble y()
y in interface IVecIdouble z()
z in interface IVecIdouble w()
IVec4 get()
get in interface IParameterget in interface IVec4Opget in interface IVecIget in interface IVecOpIVec4I dup()
ITransformable
dup in interface ITransformabledup in interface IVecIIVec2I to2d()
to2d in interface IVecIIVecI to3d()
IDoubleI getX()
getX in interface IVecIIDoubleI getY()
getY in interface IVecIIDoubleI getZ()
getZ in interface IVecIIDoubleI 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 IVecIIVec4I add(IVecI v)
add in interface ITransformableadd in interface IVecIIVec4I sub(IVecI v)
sub in interface ITransformablesub in interface IVecIIVec4I mul(IDoubleI v)
mul in interface ITransformablemul in interface IVecIIVec4I mul(double v)
mul in interface ITransformablemul in interface IVecIIVec4I div(IDoubleI v)
div in interface ITransformablediv in interface IVecIIVec4I div(double v)
div in interface ITransformablediv in interface IVecIIVec4I neg()
neg in interface ITransformableneg in interface IVecIIVec4I rev()
IVecI
rev in interface IVecI
IVec4I add(IVecI v,
double f)
ITransformable
add in interface ITransformableadd in interface IVecI
IVec4I add(IVecI v,
IDoubleI f)
add in interface ITransformableadd in interface IVecIIVec4I len(IDoubleI l)
len in interface IVecIIVec4I len(double l)
len in interface IVecIIVec4I unit()
unit in interface IVecIIVec4I cross(IVecI v)
IVecI
cross in interface IVecIboolean eqX(IVecI v)
eqX in interface IVecIboolean eqY(IVecI v)
eqY in interface IVecIboolean eqZ(IVecI v)
eqZ in interface IVecIboolean 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 ITransformablerot in interface IVecI
IVec4I rot(IVecI axis,
double angle)
rot in interface ITransformablerot in interface IVecI
IVec4I rot(IVecI center,
IVecI axis,
IDoubleI angle)
rot in interface ITransformablerot in interface IVecI
IVec4I rot(IVecI center,
IVecI axis,
double angle)
rot in interface ITransformablerot in interface IVecI
IVec4I rot(IVecI axis,
IVecI destDir)
ITransformable
rot in interface ITransformablerot in interface IVecI
IVec4I rot(IVecI center,
IVecI axis,
IVecI destPt)
ITransformable
rot in interface ITransformablerot in interface IVecIIVec4I scale(IDoubleI f)
ITransformable
scale in interface ITransformablescale in interface IVecIIVec4I scale(double f)
scale in interface ITransformablescale in interface IVecI
IVec4I scale(IVecI center,
IDoubleI f)
scale in interface ITransformablescale in interface IVecI
IVec4I scale(IVecI center,
double f)
scale in interface ITransformablescale in interface IVecIIVec4I mirror(IVecI planeDir)
ITransformable
mirror in interface ITransformablemirror in interface IVecI
IVec4I mirror(IVecI center,
IVecI planeDir)
mirror in interface ITransformablemirror in interface IVecIIVec4I transform(IMatrix3I mat)
transform in interface ITransformabletransform in interface IVecIIVec4I transform(IMatrix4I mat)
transform in interface ITransformabletransform in interface IVecI
IVec4I transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
transform in interface ITransformabletransform in interface IVecI
IVec4I transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
transform in interface ITransformabletransform in interface IVecIIVec4I diff(IVecI v)
diff in interface IVecIIVec4I mid(IVecI v)
mid in interface IVecIIVec4I sum(IVecI v)
sum in interface IVecIIVec4I sum(IVecI... v)
sum in interface IVecIIVec4I 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 IVecIboolean isValid()
isValid in interface IVecI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||