|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IVecI
Abstract interface of 3 dimensional vector.
| Method Summary | |
|---|---|
IVecI |
add(double x,
double y,
double z)
|
IVecI |
add(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IVecI |
add(IVecI v)
|
IVecI |
add(IVecI v,
double f)
scale add |
IVecI |
add(IVecI v,
IDoubleI f)
scale add |
double |
angle(ISwitchE e,
IVecI v)
|
double |
angle(ISwitchE e,
IVecI v,
IVecI axis)
|
IDoubleI |
angle(ISwitchR r,
IVecI v)
|
IDoubleI |
angle(ISwitchR r,
IVecI v,
IVecI axis)
|
double |
angle(IVecI v)
|
double |
angle(IVecI v,
IVecI axis)
|
IVecI |
bisect(IVecI v)
create a new instance of bisector |
IVecI |
cp()
cp() is alias of dup() |
IVecI |
cp(double x,
double y,
double z)
cp() is alias of dup().add() |
IVecI |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IVecI |
cp(IVecI v)
|
IVecI |
cross(IVecI v)
cross product creates a new instance |
IVecI |
dif(IVecI v)
create a new instance of difference |
IVecI |
diff(IVecI v)
alias of dif |
double |
dist(ISwitchE e,
IVecI v)
|
IDoubleI |
dist(ISwitchR r,
IVecI v)
|
double |
dist(IVecI v)
|
double |
dist2(ISwitchE e,
IVecI v)
|
IDoubleI |
dist2(ISwitchR r,
IVecI v)
|
double |
dist2(IVecI v)
squared distance |
IVecI |
div(double v)
|
IVecI |
div(IDoubleI v)
|
double |
dot(ISwitchE e,
IVecI v)
|
IDoubleI |
dot(ISwitchR r,
IVecI v)
|
double |
dot(IVecI v)
|
IVecI |
dup()
duplicate the instance |
boolean |
eq(ISwitchE e,
IVecI v)
|
boolean |
eq(ISwitchE e,
IVecI v,
double resolution)
|
IBoolI |
eq(ISwitchR r,
IVecI v)
|
IBoolI |
eq(ISwitchR r,
IVecI v,
IDoubleI resolution)
|
boolean |
eq(IVecI v)
whether location is same or not |
boolean |
eq(IVecI 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)
|
IVecI |
flip()
alias of neg() |
IVec |
get()
|
IDoubleI |
getX()
|
IDoubleI |
getY()
|
IDoubleI |
getZ()
|
boolean |
isValid()
|
double |
len()
|
IVecI |
len(double l)
|
IVecI |
len(IDoubleI l)
|
double |
len(ISwitchE e)
|
IDoubleI |
len(ISwitchR r)
|
double |
len2()
square of length |
double |
len2(ISwitchE e)
|
IDoubleI |
len2(ISwitchR r)
|
IVecI |
mid(IVecI v)
create a new instance of midpoint |
IVecI |
mirror(IVecI planeDir)
mirror is alias of ref |
IVecI |
mirror(IVecI center,
IVecI planeDir)
|
IVecI |
mul(double v)
|
IVecI |
mul(IDoubleI v)
|
IVecI |
mv(double x,
double y,
double z)
mv() is alias of add() |
IVecI |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IVecI |
mv(IVecI v)
|
IVecI |
neg()
|
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 |
ref(IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane |
IVecI |
ref(IVecI center,
IVecI planeDir)
|
IVecI |
rev()
alias of neg() |
IVecI |
rot(IVecI axis,
double angle)
|
IVecI |
rot(IVecI axis,
IDoubleI angle)
rotation around axis vector |
IVecI |
rot(IVecI axis,
IVecI destDir)
rotate to destination direction vector |
IVecI |
rot(IVecI center,
IVecI axis,
double angle)
|
IVecI |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
rotation around axis vector and center |
IVecI |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotate to destination point location |
IVecI |
scale(double f)
|
IVecI |
scale(IDoubleI f)
alias of mul |
IVecI |
scale(IVecI center,
double f)
|
IVecI |
scale(IVecI center,
IDoubleI f)
|
IVecI |
scale1d(IVecI axis,
double f)
scale only in 1 direction |
IVecI |
scale1d(IVecI axis,
IDoubleI f)
|
IVecI |
scale1d(IVecI center,
IVecI axis,
double f)
|
IVecI |
scale1d(IVecI center,
IVecI axis,
IDoubleI f)
|
IVecI |
set(double x,
double y,
double z)
|
IVecI |
set(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IVecI |
set(IVecI v)
|
IVecI |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation |
IVecI |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
|
IVecI |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
|
IVecI |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
|
IVecI |
shearXY(double sxy,
double syx)
|
IVecI |
shearXY(IDoubleI sxy,
IDoubleI syx)
|
IVecI |
shearXY(IVecI center,
double sxy,
double syx)
|
IVecI |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
|
IVecI |
shearYZ(double syz,
double szy)
|
IVecI |
shearYZ(IDoubleI syz,
IDoubleI szy)
|
IVecI |
shearYZ(IVecI center,
double syz,
double szy)
|
IVecI |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
|
IVecI |
shearZX(double szx,
double sxz)
|
IVecI |
shearZX(IDoubleI szx,
IDoubleI sxz)
|
IVecI |
shearZX(IVecI center,
double szx,
double sxz)
|
IVecI |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
|
IVecI |
sub(double x,
double y,
double z)
|
IVecI |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IVecI |
sub(IVecI v)
|
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)
|
IVecI |
sum(IVecI v2,
double w1,
double w2)
weighted sum |
IVecI |
sum(IVecI v2,
IDoubleI w2)
|
IVecI |
sum(IVecI v2,
IDoubleI w1,
IDoubleI w2)
|
IVec2I |
to2d()
|
IVec4I |
to4d()
|
IVec4I |
to4d(double w)
|
IVec4I |
to4d(IDoubleI w)
|
IVecI |
transform(IMatrix3I mat)
|
IVecI |
transform(IMatrix4I mat)
|
IVecI |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
|
IVecI |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
|
IVecI |
translate(double x,
double y,
double z)
translate is alias of add() |
IVecI |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IVecI |
translate(IVecI v)
|
IVecI |
unit()
|
double |
x()
|
double |
y()
|
double |
z()
|
IVecI |
zero()
setting all zero |
| Methods inherited from interface igeo.ITransformable |
|---|
add, add, rot, rot, rot2, rot2, rot2, rot2, rot2, rot2 |
| Method Detail |
|---|
double x()
double y()
double z()
IVec get()
get in interface IParameterget in interface IVecOpIVecI dup()
ITransformable
dup in interface ITransformableIVec2I to2d()
IVec4I to4d()
IVec4I to4d(double w)
IVec4I to4d(IDoubleI w)
IDoubleI getX()
IDoubleI getY()
IDoubleI getZ()
IVecI set(IVecI v)
IVecI set(double x,
double y,
double z)
IVecI set(IDoubleI x,
IDoubleI y,
IDoubleI z)
IVecI add(double x,
double y,
double z)
add in interface ITransformable
IVecI add(IDoubleI x,
IDoubleI y,
IDoubleI z)
add in interface ITransformableIVecI add(IVecI v)
add in interface ITransformable
IVecI sub(double x,
double y,
double z)
sub in interface ITransformable
IVecI sub(IDoubleI x,
IDoubleI y,
IDoubleI z)
sub in interface ITransformableIVecI sub(IVecI v)
sub in interface ITransformableIVecI mul(IDoubleI v)
mul in interface ITransformableIVecI mul(double v)
mul in interface ITransformableIVecI div(IDoubleI v)
div in interface ITransformableIVecI div(double v)
div in interface ITransformableIVecI neg()
neg in interface ITransformableIVecI rev()
IVecI flip()
flip in interface ITransformableIVecI zero()
IVecI add(IVecI v,
double f)
add in interface ITransformable
IVecI add(IVecI v,
IDoubleI f)
ITransformable
add in interface ITransformabledouble dot(IVecI v)
double dot(ISwitchE e,
IVecI v)
IDoubleI dot(ISwitchR r,
IVecI v)
IVecI cross(IVecI v)
double len()
double len(ISwitchE e)
IDoubleI len(ISwitchR r)
double len2()
double len2(ISwitchE e)
IDoubleI len2(ISwitchR r)
IVecI len(IDoubleI l)
IVecI len(double l)
IVecI unit()
double dist(IVecI v)
double dist(ISwitchE e,
IVecI v)
IDoubleI dist(ISwitchR r,
IVecI v)
double dist2(IVecI v)
double dist2(ISwitchE e,
IVecI v)
IDoubleI dist2(ISwitchR r,
IVecI v)
boolean eq(IVecI v)
boolean eq(ISwitchE e,
IVecI v)
IBoolI eq(ISwitchR r,
IVecI v)
boolean eq(IVecI v,
double resolution)
boolean eq(ISwitchE e,
IVecI v,
double resolution)
IBoolI eq(ISwitchR r,
IVecI v,
IDoubleI resolution)
boolean eqX(IVecI v)
boolean eqY(IVecI v)
boolean eqZ(IVecI v)
boolean eqX(ISwitchE e,
IVecI v)
boolean eqY(ISwitchE e,
IVecI v)
boolean eqZ(ISwitchE e,
IVecI v)
IBoolI eqX(ISwitchR r,
IVecI v)
IBoolI eqY(ISwitchR r,
IVecI v)
IBoolI eqZ(ISwitchR r,
IVecI v)
boolean eqX(IVecI v,
double resolution)
boolean eqY(IVecI v,
double resolution)
boolean eqZ(IVecI v,
double resolution)
boolean eqX(ISwitchE e,
IVecI v,
double resolution)
boolean eqY(ISwitchE e,
IVecI v,
double resolution)
boolean eqZ(ISwitchE e,
IVecI v,
double resolution)
IBoolI eqX(ISwitchR r,
IVecI v,
IDoubleI resolution)
IBoolI eqY(ISwitchR r,
IVecI v,
IDoubleI resolution)
IBoolI eqZ(ISwitchR r,
IVecI v,
IDoubleI resolution)
double angle(IVecI v)
double angle(ISwitchE e,
IVecI v)
IDoubleI angle(ISwitchR r,
IVecI v)
double angle(IVecI v,
IVecI axis)
axis - axis to determin sign of angle following right-handed screw rule.
double angle(ISwitchE e,
IVecI v,
IVecI axis)
IDoubleI angle(ISwitchR r,
IVecI v,
IVecI axis)
IVecI rot(IVecI axis,
IDoubleI angle)
ITransformable
rot in interface ITransformable
IVecI rot(IVecI axis,
double angle)
rot in interface ITransformable
IVecI rot(IVecI center,
IVecI axis,
IDoubleI angle)
ITransformable
rot in interface ITransformable
IVecI rot(IVecI center,
IVecI axis,
double angle)
rot in interface ITransformable
IVecI rot(IVecI axis,
IVecI destDir)
rot in interface ITransformable
IVecI rot(IVecI center,
IVecI axis,
IVecI destPt)
rot in interface ITransformableIVecI scale(IDoubleI f)
scale in interface ITransformableIVecI scale(double f)
scale in interface ITransformable
IVecI scale(IVecI center,
IDoubleI f)
scale in interface ITransformable
IVecI scale(IVecI center,
double f)
scale in interface ITransformable
IVecI scale1d(IVecI axis,
double f)
scale1d in interface ITransformable
IVecI scale1d(IVecI axis,
IDoubleI f)
scale1d in interface ITransformable
IVecI scale1d(IVecI center,
IVecI axis,
double f)
scale1d in interface ITransformable
IVecI scale1d(IVecI center,
IVecI axis,
IDoubleI f)
scale1d in interface ITransformableIVecI ref(IVecI planeDir)
ref in interface ITransformable
IVecI ref(IVecI center,
IVecI planeDir)
ref in interface ITransformableIVecI mirror(IVecI planeDir)
ITransformable
mirror in interface ITransformable
IVecI mirror(IVecI center,
IVecI planeDir)
mirror in interface ITransformable
IVecI shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear in interface ITransformable
IVecI shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear in interface ITransformable
IVecI shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear in interface ITransformable
IVecI shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear in interface ITransformable
IVecI shearXY(double sxy,
double syx)
shearXY in interface ITransformable
IVecI shearXY(IDoubleI sxy,
IDoubleI syx)
shearXY in interface ITransformable
IVecI shearXY(IVecI center,
double sxy,
double syx)
shearXY in interface ITransformable
IVecI shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
shearXY in interface ITransformable
IVecI shearYZ(double syz,
double szy)
shearYZ in interface ITransformable
IVecI shearYZ(IDoubleI syz,
IDoubleI szy)
shearYZ in interface ITransformable
IVecI shearYZ(IVecI center,
double syz,
double szy)
shearYZ in interface ITransformable
IVecI shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
shearYZ in interface ITransformable
IVecI shearZX(double szx,
double sxz)
shearZX in interface ITransformable
IVecI shearZX(IDoubleI szx,
IDoubleI sxz)
shearZX in interface ITransformable
IVecI shearZX(IVecI center,
double szx,
double sxz)
shearZX in interface ITransformable
IVecI shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
shearZX in interface ITransformable
IVecI translate(double x,
double y,
double z)
translate in interface ITransformable
IVecI translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
translate in interface ITransformableIVecI translate(IVecI v)
translate in interface ITransformableIVecI transform(IMatrix3I mat)
transform in interface ITransformableIVecI transform(IMatrix4I mat)
transform in interface ITransformable
IVecI transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
transform in interface ITransformable
IVecI transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
transform in interface ITransformable
IVecI mv(double x,
double y,
double z)
mv in interface ITransformable
IVecI mv(IDoubleI x,
IDoubleI y,
IDoubleI z)
mv in interface ITransformableIVecI mv(IVecI v)
mv in interface ITransformableIVecI cp()
cp in interface ITransformable
IVecI cp(double x,
double y,
double z)
cp in interface ITransformable
IVecI cp(IDoubleI x,
IDoubleI y,
IDoubleI z)
cp in interface ITransformableIVecI cp(IVecI v)
cp in interface ITransformableIVecI dif(IVecI v)
IVecI diff(IVecI v)
IVecI mid(IVecI v)
IVecI sum(IVecI v)
IVecI sum(IVecI... v)
IVecI bisect(IVecI v)
IVecI sum(IVecI v2,
double w1,
double w2)
IVecI sum(IVecI v2,
double w2)
IVecI sum(IVecI v2,
IDoubleI w1,
IDoubleI w2)
IVecI sum(IVecI v2,
IDoubleI w2)
IVecI nml(IVecI v)
IVecI nml(IVecI pt1,
IVecI pt2)
boolean isValid()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||