|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectigeo.IParameterObject
igeo.IVec
public class IVec
Class of 3 dimensional vector.
| Field Summary | |
|---|---|
static IVec |
origin
|
double |
x
|
static IVec |
xaxis
|
double |
y
|
static IVec |
yaxis
|
double |
z
|
static IVec |
zaxis
|
| Fields inherited from class igeo.IParameterObject |
|---|
parent |
| Constructor Summary | |
|---|---|
IVec()
|
|
IVec(double x,
double y,
double z)
|
|
IVec(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
|
IVec(IServerI s)
|
|
IVec(IServerI s,
double x,
double y,
double z)
|
|
IVec(IServerI s,
IDoubleI x,
IDoubleI y,
IDoubleI z)
|
|
IVec(IServerI s,
IVec v)
|
|
IVec(IServerI s,
IVec2I v)
|
|
IVec(IServerI s,
IVecI v)
|
|
IVec(IVec v)
|
|
IVec(IVec2I v)
|
|
IVec(IVecI v)
|
|
| Method Summary | |
|---|---|
IVec |
add(double x,
double y,
double z)
|
IVec |
add(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IVec |
add(IVec v)
|
IVec |
add(IVec v,
double f)
scale add |
IVec |
add(IVecI v)
|
IVec |
add(IVecI v,
double f)
scale add |
IVec |
add(IVecI v,
IDoubleI f)
|
double |
angle(ISwitchE e,
IVecI v)
|
double |
angle(ISwitchE e,
IVecI v,
IVecI axis)
|
IDouble |
angle(ISwitchR r,
IVecI v)
|
IDouble |
angle(ISwitchR r,
IVecI v,
IVecI axis)
|
double |
angle(IVec v)
angle in double (P for Primitive) |
double |
angle(IVecI v)
|
double |
angle(IVecI v,
IVecI axis)
|
double |
angle(IVec v,
IVec axis)
|
static IVec |
averageNormal(IVecI[] pts)
average normal of point array in form of a polyline. |
static IVec |
averageNormal(IVecI[][] pts)
average normal of point array in form of a matrix. |
IVec |
bisect(IVec v)
|
IVec |
bisect(IVecI v)
|
IVec |
cp()
cp() is alias of dup() |
IVec |
cp(double x,
double y,
double z)
cp() is alias of dup().add() |
IVec |
cp(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IVec |
cp(IVecI v)
|
IVec |
cross(IVec v)
cross product changed to return a new instance, not changing own content. |
IVec |
cross(IVecI v)
cross product creates a new instance |
IVec[] |
decompose(IVecI uaxis,
IVecI vaxis)
decompose the vector to two input vectors and another perpendicular vector of those two and returns three decomposed vector. |
IVec |
diff(IVec v)
methods creating new instance |
IVec |
diff(IVecI v)
|
double |
dist(ISwitchE e,
IVecI v)
|
IDouble |
dist(ISwitchR r,
IVecI v)
|
double |
dist(IVec v)
|
double |
dist(IVecI v)
|
double |
dist2(ISwitchE e,
IVecI v)
|
IDouble |
dist2(ISwitchR r,
IVecI v)
|
double |
dist2(IVec v)
|
double |
dist2(IVecI v)
squared distance |
double |
distanceToPlane(IVecI planeDir,
IVecI planePt)
|
IVec |
div(double v)
|
IVec |
div(IDouble v)
|
IVec |
div(IDoubleI v)
|
double |
dot(ISwitchE e,
IVecI v)
|
IDouble |
dot(ISwitchR r,
IVecI v)
|
double |
dot(IVec v)
dot product in double (P for Primitive) |
double |
dot(IVecI v)
|
IVec |
dup()
duplicate the instance |
boolean |
eq(ISwitchE e,
IVecI v)
|
boolean |
eq(ISwitchE e,
IVecI v,
double resolution)
|
IBool |
eq(ISwitchR r,
IVecI v)
|
IBool |
eq(ISwitchR r,
IVecI v,
IDoubleI resolution)
|
boolean |
eq(IVec v)
|
boolean |
eq(IVec v,
double 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)
|
IBool |
eqX(ISwitchR r,
IVecI v)
|
IBool |
eqX(ISwitchR r,
IVecI v,
IDoubleI resolution)
|
boolean |
eqX(IVec v)
|
boolean |
eqX(IVec v,
double 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)
|
IBool |
eqY(ISwitchR r,
IVecI v)
|
IBool |
eqY(ISwitchR r,
IVecI v,
IDoubleI resolution)
|
boolean |
eqY(IVec v)
|
boolean |
eqY(IVec v,
double 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)
|
IBool |
eqZ(ISwitchR r,
IVecI v)
|
IBool |
eqZ(ISwitchR r,
IVecI v,
IDoubleI resolution)
|
boolean |
eqZ(IVec v)
|
boolean |
eqZ(IVec v,
double resolution)
|
boolean |
eqZ(IVecI v)
|
boolean |
eqZ(IVecI v,
double resolution)
|
IVec |
flip()
alias of neg() |
IVec |
get()
|
IVecI |
getNormal(IVecI pt2,
IVecI pt3)
|
static IVecI |
getNormal(IVecI pt1,
IVecI pt2,
IVecI pt3)
|
IVec |
getNormal(IVec pt2,
IVec pt3)
|
static IVec |
getNormal(IVec pt1,
IVec pt2,
IVec pt3)
|
IDouble |
getX()
|
IDouble |
getY()
|
IDouble |
getZ()
|
IVec |
icross(IVec v)
cross product, changing its values by itself. |
static boolean |
isArrayEqual(IVec[] pts1,
IVec[] pts2,
boolean cyclic,
boolean reverse)
|
static boolean |
isArrayEqual(IVec[] pts1,
IVec[] pts2,
boolean cyclic,
boolean reverse,
double resolution)
|
static boolean |
isFlat(IVecI pt1,
IVecI pt2,
IVecI pt3,
IVecI pt4)
static methods |
static boolean |
isFlat(IVecI pt1,
IVecI pt2,
IVecI pt3,
IVecI pt4,
double resolution)
|
boolean |
isOnPlane(IVecI planeDir,
IVecI planePt)
|
boolean |
isOnPlane(IVecI planeDir,
IVecI planePt,
double resolution)
|
boolean |
isOnPlane(IVecI planePt1,
IVecI planePt2,
IVecI planePt3)
|
boolean |
isOnPlane(IVecI planePt1,
IVecI planePt2,
IVecI planePt3,
double resolution)
|
boolean |
isParallel(IVecI v)
|
boolean |
isParallel(IVecI v,
double angleReso)
|
boolean |
isStraight(IVecI v1,
IVecI v2)
|
boolean |
isStraight(IVecI v1,
IVecI v2,
double angleReso)
|
boolean |
isValid()
checking x, y, and z is valid number (not Infinite, nor NaN). |
double |
len()
|
IVec |
len(double l)
|
IVec |
len(IDoubleI l)
|
double |
len(ISwitchE e)
|
IDouble |
len(ISwitchR r)
|
double |
len2()
square of length |
double |
len2(ISwitchE e)
|
IDouble |
len2(ISwitchR r)
|
IVec |
mid(IVec v)
|
IVec |
mid(IVecI v)
|
IVec |
mirror(IVec planeDir)
|
IVec |
mirror(IVecI planeDir)
mirror is alias of ref |
IVec |
mirror(IVecI center,
IVecI planeDir)
|
IVec |
mirror(IVec center,
IVec planeDir)
|
IVec |
mul(double v)
|
IVec |
mul(IDouble v)
|
IVec |
mul(IDoubleI v)
|
IVec |
mv(double x,
double y,
double z)
mv() is alias of add() |
IVec |
mv(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IVec |
mv(IVecI v)
|
IVec |
neg()
|
IVec |
nml(IVecI v)
alias of cross. |
IVec |
nml(IVecI pt1,
IVecI pt2)
create normal vector from 3 points of self, pt1 and pt2 |
IVec |
nml(IVec pt1,
IVec pt2)
|
static IVec[] |
offset(IVec[] pts,
double width)
|
static IVec[] |
offset(IVec[] pts,
double width,
boolean close)
|
static IVec[] |
offset(IVec[] pts,
double width,
IVecI planeNormal)
|
static IVec[] |
offset(IVec[] pts,
double width,
IVecI planeNormal,
boolean close)
|
static IVecI[] |
offset(IVecI[] pts,
double width)
|
static IVecI[] |
offset(IVecI[] pts,
double width,
boolean close)
|
static IVecI[] |
offset(IVecI[] pts,
double width,
IVecI planeNormal)
|
static IVecI[] |
offset(IVecI[] pts,
double width,
IVecI planeNormal,
boolean close)
|
static IVecI[] |
offset(IVecI[] pts,
IDoubleI width)
|
static IVecI[] |
offset(IVecI[] pts,
IDoubleI width,
boolean close)
|
static IVecI[] |
offset(IVecI[] pts,
IDoubleI width,
IVecI planeNormal)
|
static IVecI[] |
offset(IVecI[] pts,
IDoubleI width,
IVecI planeNormal,
boolean close)
|
static IVecI[] |
offset(IVecI[] pts,
IVecI[] normal,
double width)
|
static IVecI[] |
offset(IVecI[] pts,
IVecI[] normal,
IDoubleI width)
|
IVec |
perpendicularVectorToLine(IVecI lineDir,
IVecI linePt)
create a new vector from this point to the line in parpendicular direction. |
IVec |
perpendicularVectorToVector(IVecI axisDir)
create a new vector from line to this point perpendicular to the axis |
double[] |
projectTo2Vec(IVecI v1,
IVecI v2)
project the vector to the plane defined by two input vector and decompose vector to two vector and another perpendicular vector and returns coefficient of them. |
IVec |
projectToLine(IVecI linePt,
IVecI lineDir)
|
static void |
projectToPlane(IVecI[] pts)
project point array to a plane. |
static void |
projectToPlane(IVecI[][] pts)
project point array to a plane. |
static void |
projectToPlane(IVecI[][] pts,
IVecI planeNormal)
project point array to a plane. |
static void |
projectToPlane(IVecI[][] pts,
IVecI planeNormal,
IVecI planePt)
project point array to a plane. |
static void |
projectToPlane(IVecI[][] pts,
IVecI projectDir,
IVecI planeNormal,
IVecI planePt)
project point array to a plane. |
static void |
projectToPlane(IVecI[] pts,
IVecI planeNormal)
project point array to a plane. |
static void |
projectToPlane(IVecI[] pts,
IVecI planeNormal,
IVecI planePt)
project point array to a plane. |
static void |
projectToPlane(IVecI[] pts,
IVecI projectDir,
IVecI planeNormal,
IVecI planePt)
project point array to a plane. |
IVec |
projectToPlane(IVecI projectDir,
IVecI planeNormal)
|
IVec |
projectToPlane(IVecI projectDir,
IVecI planeNormal,
IVecI planePoint)
|
static IVecI |
projectToPlane(IVecI pt,
IVecI projectDir,
IVecI planeNormal,
IVecI planePt)
project point a plane. |
double |
projectToVec(IVecI v)
project this vector to the input vector and returns projection coefficient. |
IVec |
ref(IVec planeDir)
reflect (mirror) 3 dimensionally to the other side of the plane |
IVec |
ref(IVecI planeDir)
reflect(mirror) 3 dimensionally to the other side of the plane |
IVec |
ref(IVecI center,
IVecI planeDir)
|
IVec |
ref(IVec center,
IVec planeDir)
|
IVec |
rev()
alias of neg() |
IVec |
rot(IVec axis,
double angle)
|
IVec |
rot(IVecI axis,
double angle)
|
IVec |
rot(IVecI axis,
IDoubleI angle)
|
IVec |
rot(IVecI axis,
IVecI destDir)
rotate to destination direction vector |
IVec |
rot(IVecI center,
IVecI axis,
double angle)
|
IVec |
rot(IVecI center,
IVecI axis,
IDoubleI angle)
|
IVec |
rot(IVecI center,
IVecI axis,
IVecI destPt)
rotate to destination point location |
IVec |
rot(IVec axis,
IVec destDir)
|
IVec |
rot(IVec center,
IVec axis,
double angle)
|
IVec |
rot(IVec center,
IVec axis,
IVec destPt)
|
IVec |
scale(double f)
|
IVec |
scale(IDoubleI f)
alias of mul |
IVec |
scale(IVec center,
double f)
|
IVec |
scale(IVecI center,
double f)
|
IVec |
scale(IVecI center,
IDoubleI f)
|
IVec |
scale1d(IVec axis,
double f)
scale only in 1 direction |
IVec |
scale1d(IVecI axis,
double f)
scale only in 1 direction |
IVec |
scale1d(IVecI axis,
IDoubleI f)
|
IVec |
scale1d(IVecI center,
IVecI axis,
double f)
|
IVec |
scale1d(IVecI center,
IVecI axis,
IDoubleI f)
|
IVec |
set(double x,
double y,
double z)
|
IVec |
set(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IVec |
set(IVec v)
|
IVec |
set(IVecI v)
|
IVec |
shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear operation |
IVec |
shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
|
IVec |
shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
|
IVec |
shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
|
IVec |
shearXY(double sxy,
double syx)
|
IVec |
shearXY(IDoubleI sxy,
IDoubleI syx)
|
IVec |
shearXY(IVecI center,
double sxy,
double syx)
|
IVec |
shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
|
IVec |
shearYZ(double syz,
double szy)
|
IVec |
shearYZ(IDoubleI syz,
IDoubleI szy)
|
IVec |
shearYZ(IVecI center,
double syz,
double szy)
|
IVec |
shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
|
IVec |
shearZX(double szx,
double sxz)
|
IVec |
shearZX(IDoubleI szx,
IDoubleI sxz)
|
IVec |
shearZX(IVecI center,
double szx,
double sxz)
|
IVec |
shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
|
IVectorObject |
show()
visualize a vector as an arrow. |
IVectorObject |
show(IServerI s)
visualize a vector as an arrow. |
IVectorObject |
show(IServerI s,
IVecI root)
visualize a vector as an arrow. |
IVectorObject |
show(IVecI root)
visualize a vector as an arrow. |
IVec |
sub(double x,
double y,
double z)
|
IVec |
sub(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IVec |
sub(IVec v)
|
IVec |
sub(IVecI v)
|
IVec |
sum(IVec... v)
|
IVec |
sum(IVec v)
|
IVec |
sum(IVec v2,
double w2)
|
IVec |
sum(IVec v2,
double w1,
double w2)
weighted sum, creating new instance |
IVec |
sum(IVecI... v)
|
IVec |
sum(IVecI v)
|
IVec |
sum(IVecI v2,
double w2)
|
IVec |
sum(IVecI v2,
double w1,
double w2)
weighted sum |
IVec |
sum(IVecI v2,
IDoubleI w2)
|
IVec |
sum(IVecI v2,
IDoubleI w1,
IDoubleI w2)
|
IVec2 |
to2d()
|
IVec4 |
to4d()
|
IVec4 |
to4d(double w)
|
IVec4 |
to4d(IDoubleI w)
|
java.lang.String |
toString()
|
IVec |
transform(IMatrix3I mat)
|
IVec |
transform(IMatrix4I mat)
|
IVec |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
|
IVec |
transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
|
IVec |
transform(IVec xvec,
IVec yvec,
IVec zvec)
|
IVec |
transform(IVec xvec,
IVec yvec,
IVec zvec,
IVec translate)
|
IVec |
translate(double x,
double y,
double z)
translate() is alias of add() |
IVec |
translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
|
IVec |
translate(IVecI v)
|
IVec |
unit()
|
double |
x()
|
double |
y()
|
double |
z()
|
| Methods inherited from class igeo.IParameterObject |
|---|
createObject, parent, parent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final IVec origin
public static final IVec xaxis
public static final IVec yaxis
public static final IVec zaxis
public double x
public double y
public double z
| Constructor Detail |
|---|
public IVec()
public IVec(double x,
double y,
double z)
public IVec(IVec v)
public IVec(IVecI v)
public IVec(IDoubleI x,
IDoubleI y,
IDoubleI z)
public IVec(IVec2I v)
public IVec(IServerI s)
public IVec(IServerI s,
double x,
double y,
double z)
public IVec(IServerI s,
IVec v)
public IVec(IServerI s,
IVecI v)
public IVec(IServerI s,
IDoubleI x,
IDoubleI y,
IDoubleI z)
public IVec(IServerI s,
IVec2I v)
| Method Detail |
|---|
public double x()
x in interface IVecIpublic double y()
y in interface IVecIpublic double z()
z in interface IVecIpublic IVec get()
get in interface IParameterget in interface IVecIget in interface IVecOppublic IVec dup()
ITransformable
dup in interface ITransformabledup in interface IVecIpublic IVec2 to2d()
to2d in interface IVecIpublic IVec4 to4d()
to4d in interface IVecIpublic IVec4 to4d(double w)
to4d in interface IVecIpublic IVec4 to4d(IDoubleI w)
to4d in interface IVecIpublic IDouble getX()
getX in interface IVecIpublic IDouble getY()
getY in interface IVecIpublic IDouble getZ()
getZ in interface IVecI
public IVec set(double x,
double y,
double z)
set in interface IVecIpublic IVec set(IVec v)
public IVec set(IVecI v)
set in interface IVecI
public IVec set(IDoubleI x,
IDoubleI y,
IDoubleI z)
set in interface IVecI
public IVec add(double x,
double y,
double z)
add in interface ITransformableadd in interface IVecI
public IVec add(IDoubleI x,
IDoubleI y,
IDoubleI z)
add in interface ITransformableadd in interface IVecIpublic IVec add(IVec v)
public IVec add(IVecI v)
add in interface ITransformableadd in interface IVecI
public IVec sub(double x,
double y,
double z)
sub in interface ITransformablesub in interface IVecI
public IVec sub(IDoubleI x,
IDoubleI y,
IDoubleI z)
sub in interface ITransformablesub in interface IVecIpublic IVec sub(IVec v)
public IVec sub(IVecI v)
sub in interface ITransformablesub in interface IVecIpublic IVec mul(double v)
mul in interface ITransformablemul in interface IVecIpublic IVec mul(IDouble v)
public IVec mul(IDoubleI v)
mul in interface ITransformablemul in interface IVecIpublic IVec div(double v)
div in interface ITransformablediv in interface IVecIpublic IVec div(IDouble v)
public IVec div(IDoubleI v)
div in interface ITransformablediv in interface IVecIpublic IVec neg()
neg in interface ITransformableneg in interface IVecIpublic IVec rev()
rev in interface IVecIpublic IVec flip()
flip in interface ITransformableflip in interface IVecI
public IVec add(IVec v,
double f)
public IVec add(IVecI v,
double f)
ITransformable
add in interface ITransformableadd in interface IVecI
public IVec add(IVecI v,
IDoubleI f)
add in interface ITransformableadd in interface IVecIpublic double dot(IVec v)
public double dot(IVecI v)
dot in interface IVecI
public double dot(ISwitchE e,
IVecI v)
dot in interface IVecI
public IDouble dot(ISwitchR r,
IVecI v)
dot in interface IVecIpublic IVec cross(IVec v)
public IVec cross(IVecI v)
IVecI
cross in interface IVecIpublic IVec icross(IVec v)
public double len()
len in interface IVecIpublic double len(ISwitchE e)
len in interface IVecIpublic IDouble len(ISwitchR r)
len in interface IVecIpublic double len2()
IVecI
len2 in interface IVecIpublic double len2(ISwitchE e)
len2 in interface IVecIpublic IDouble len2(ISwitchR r)
len2 in interface IVecIpublic IVec len(double l)
len in interface IVecIpublic IVec len(IDoubleI l)
len in interface IVecIpublic IVec unit()
unit in interface IVecIpublic double dist(IVec v)
public double dist(IVecI v)
dist in interface IVecI
public double dist(ISwitchE e,
IVecI v)
dist in interface IVecI
public IDouble dist(ISwitchR r,
IVecI v)
dist in interface IVecIpublic double dist2(IVec v)
public double dist2(IVecI v)
IVecI
dist2 in interface IVecI
public double dist2(ISwitchE e,
IVecI v)
dist2 in interface IVecI
public IDouble dist2(ISwitchR r,
IVecI v)
dist2 in interface IVecIpublic boolean eq(IVec v)
public boolean eq(IVecI v)
IVecI
eq in interface IVecI
public boolean eq(ISwitchE e,
IVecI v)
eq in interface IVecI
public IBool eq(ISwitchR r,
IVecI v)
eq in interface IVecI
public boolean eq(IVec v,
double resolution)
public boolean eq(IVecI v,
double resolution)
eq in interface IVecI
public boolean eq(ISwitchE e,
IVecI v,
double resolution)
eq in interface IVecI
public IBool eq(ISwitchR r,
IVecI v,
IDoubleI resolution)
eq in interface IVecIpublic boolean eqX(IVec v)
public boolean eqY(IVec v)
public boolean eqZ(IVec v)
public boolean eqX(IVecI v)
eqX in interface IVecIpublic boolean eqY(IVecI v)
eqY in interface IVecIpublic boolean eqZ(IVecI v)
eqZ in interface IVecI
public boolean eqX(ISwitchE e,
IVecI v)
eqX in interface IVecI
public boolean eqY(ISwitchE e,
IVecI v)
eqY in interface IVecI
public boolean eqZ(ISwitchE e,
IVecI v)
eqZ in interface IVecI
public IBool eqX(ISwitchR r,
IVecI v)
eqX in interface IVecI
public IBool eqY(ISwitchR r,
IVecI v)
eqY in interface IVecI
public IBool eqZ(ISwitchR r,
IVecI v)
eqZ in interface IVecI
public boolean eqX(IVec v,
double resolution)
public boolean eqY(IVec v,
double resolution)
public boolean eqZ(IVec v,
double resolution)
public boolean eqX(IVecI v,
double resolution)
eqX in interface IVecI
public boolean eqY(IVecI v,
double resolution)
eqY in interface IVecI
public boolean eqZ(IVecI v,
double resolution)
eqZ in interface IVecI
public boolean eqX(ISwitchE e,
IVecI v,
double resolution)
eqX in interface IVecI
public boolean eqY(ISwitchE e,
IVecI v,
double resolution)
eqY in interface IVecI
public boolean eqZ(ISwitchE e,
IVecI v,
double resolution)
eqZ in interface IVecI
public IBool eqX(ISwitchR r,
IVecI v,
IDoubleI resolution)
eqX in interface IVecI
public IBool eqY(ISwitchR r,
IVecI v,
IDoubleI resolution)
eqY in interface IVecI
public IBool eqZ(ISwitchR r,
IVecI v,
IDoubleI resolution)
eqZ in interface IVecIpublic double angle(IVec v)
public double angle(IVecI v)
angle in interface IVecI
public double angle(ISwitchE e,
IVecI v)
angle in interface IVecI
public IDouble angle(ISwitchR r,
IVecI v)
angle in interface IVecI
public double angle(IVec v,
IVec axis)
public double angle(IVecI v,
IVecI axis)
angle in interface IVecIaxis - axis to determin sign of angle following right-handed screw rule.
public double angle(ISwitchE e,
IVecI v,
IVecI axis)
angle in interface IVecI
public IDouble angle(ISwitchR r,
IVecI v,
IVecI axis)
angle in interface IVecI
public IVec rot(IVec axis,
double angle)
public IVec rot(IVecI axis,
double angle)
rot in interface ITransformablerot in interface IVecI
public IVec rot(IVecI axis,
IDoubleI angle)
rot in interface ITransformablerot in interface IVecI
public IVec rot(IVec center,
IVec axis,
double angle)
public IVec rot(IVecI center,
IVecI axis,
double angle)
rot in interface ITransformablerot in interface IVecI
public IVec rot(IVecI center,
IVecI axis,
IDoubleI angle)
rot in interface ITransformablerot in interface IVecI
public IVec rot(IVec axis,
IVec destDir)
public IVec rot(IVecI axis,
IVecI destDir)
ITransformable
rot in interface ITransformablerot in interface IVecI
public IVec rot(IVec center,
IVec axis,
IVec destPt)
public IVec rot(IVecI center,
IVecI axis,
IVecI destPt)
ITransformable
rot in interface ITransformablerot in interface IVecIpublic IVec scale(IDoubleI f)
scale in interface ITransformablescale in interface IVecIpublic IVec scale(double f)
scale in interface ITransformablescale in interface IVecI
public IVec scale(IVec center,
double f)
public IVec scale(IVecI center,
double f)
scale in interface ITransformablescale in interface IVecI
public IVec scale(IVecI center,
IDoubleI f)
scale in interface ITransformablescale in interface IVecI
public IVec scale1d(IVec axis,
double f)
public IVec scale1d(IVecI axis,
double f)
ITransformable
scale1d in interface ITransformablescale1d in interface IVecI
public IVec scale1d(IVecI axis,
IDoubleI f)
scale1d in interface ITransformablescale1d in interface IVecI
public IVec scale1d(IVecI center,
IVecI axis,
double f)
scale1d in interface ITransformablescale1d in interface IVecI
public IVec scale1d(IVecI center,
IVecI axis,
IDoubleI f)
scale1d in interface ITransformablescale1d in interface IVecIpublic IVec ref(IVec planeDir)
public IVec ref(IVecI planeDir)
ITransformable
ref in interface ITransformableref in interface IVecI
public IVec ref(IVec center,
IVec planeDir)
public IVec ref(IVecI center,
IVecI planeDir)
ref in interface ITransformableref in interface IVecIpublic IVec mirror(IVec planeDir)
public IVec mirror(IVecI planeDir)
ITransformable
mirror in interface ITransformablemirror in interface IVecI
public IVec mirror(IVec center,
IVec planeDir)
public IVec mirror(IVecI center,
IVecI planeDir)
mirror in interface ITransformablemirror in interface IVecI
public IVec shear(double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
ITransformable
shear in interface ITransformableshear in interface IVecI
public IVec shear(IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear in interface ITransformableshear in interface IVecI
public IVec shear(IVecI center,
double sxy,
double syx,
double syz,
double szy,
double szx,
double sxz)
shear in interface ITransformableshear in interface IVecI
public IVec shear(IVecI center,
IDoubleI sxy,
IDoubleI syx,
IDoubleI syz,
IDoubleI szy,
IDoubleI szx,
IDoubleI sxz)
shear in interface ITransformableshear in interface IVecI
public IVec shearXY(double sxy,
double syx)
shearXY in interface ITransformableshearXY in interface IVecI
public IVec shearXY(IDoubleI sxy,
IDoubleI syx)
shearXY in interface ITransformableshearXY in interface IVecI
public IVec shearXY(IVecI center,
double sxy,
double syx)
shearXY in interface ITransformableshearXY in interface IVecI
public IVec shearXY(IVecI center,
IDoubleI sxy,
IDoubleI syx)
shearXY in interface ITransformableshearXY in interface IVecI
public IVec shearYZ(double syz,
double szy)
shearYZ in interface ITransformableshearYZ in interface IVecI
public IVec shearYZ(IDoubleI syz,
IDoubleI szy)
shearYZ in interface ITransformableshearYZ in interface IVecI
public IVec shearYZ(IVecI center,
double syz,
double szy)
shearYZ in interface ITransformableshearYZ in interface IVecI
public IVec shearYZ(IVecI center,
IDoubleI syz,
IDoubleI szy)
shearYZ in interface ITransformableshearYZ in interface IVecI
public IVec shearZX(double szx,
double sxz)
shearZX in interface ITransformableshearZX in interface IVecI
public IVec shearZX(IDoubleI szx,
IDoubleI sxz)
shearZX in interface ITransformableshearZX in interface IVecI
public IVec shearZX(IVecI center,
double szx,
double sxz)
shearZX in interface ITransformableshearZX in interface IVecI
public IVec shearZX(IVecI center,
IDoubleI szx,
IDoubleI sxz)
shearZX in interface ITransformableshearZX in interface IVecI
public IVec translate(double x,
double y,
double z)
ITransformable
translate in interface ITransformabletranslate in interface IVecI
public IVec translate(IDoubleI x,
IDoubleI y,
IDoubleI z)
translate in interface ITransformabletranslate in interface IVecIpublic IVec translate(IVecI v)
translate in interface ITransformabletranslate in interface IVecIpublic IVec transform(IMatrix3I mat)
transform in interface ITransformabletransform in interface IVecIpublic IVec transform(IMatrix4I mat)
transform in interface ITransformabletransform in interface IVecI
public IVec transform(IVec xvec,
IVec yvec,
IVec zvec)
public IVec transform(IVecI xvec,
IVecI yvec,
IVecI zvec)
transform in interface ITransformabletransform in interface IVecI
public IVec transform(IVec xvec,
IVec yvec,
IVec zvec,
IVec translate)
public IVec transform(IVecI xvec,
IVecI yvec,
IVecI zvec,
IVecI translate)
transform in interface ITransformabletransform in interface IVecI
public IVec mv(double x,
double y,
double z)
mv in interface ITransformablemv in interface IVecI
public IVec mv(IDoubleI x,
IDoubleI y,
IDoubleI z)
mv in interface ITransformablemv in interface IVecIpublic IVec mv(IVecI v)
mv in interface ITransformablemv in interface IVecIpublic IVec cp()
cp in interface ITransformablecp in interface IVecI
public IVec cp(double x,
double y,
double z)
cp in interface ITransformablecp in interface IVecI
public IVec cp(IDoubleI x,
IDoubleI y,
IDoubleI z)
cp in interface ITransformablecp in interface IVecIpublic IVec cp(IVecI v)
cp in interface ITransformablecp in interface IVecIpublic IVec diff(IVec v)
public IVec diff(IVecI v)
diff in interface IVecIpublic IVec mid(IVec v)
public IVec mid(IVecI v)
mid in interface IVecIpublic IVec sum(IVec v)
public IVec sum(IVecI v)
sum in interface IVecIpublic IVec sum(IVec... v)
public IVec sum(IVecI... v)
sum in interface IVecIpublic IVec bisect(IVec v)
public IVec bisect(IVecI v)
bisect in interface IVecI
public IVec sum(IVec v2,
double w1,
double w2)
public IVec sum(IVec v2,
double w2)
public IVec sum(IVecI v2,
double w1,
double w2)
IVecI
sum in interface IVecI
public IVec sum(IVecI v2,
double w2)
sum in interface IVecI
public IVec sum(IVecI v2,
IDoubleI w1,
IDoubleI w2)
sum in interface IVecI
public IVec sum(IVecI v2,
IDoubleI w2)
sum in interface IVecIpublic boolean isValid()
isValid in interface IVecIpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isParallel(IVecI v)
public boolean isParallel(IVecI v,
double angleReso)
public boolean isStraight(IVecI v1,
IVecI v2)
public boolean isStraight(IVecI v1,
IVecI v2,
double angleReso)
public IVec nml(IVecI v)
nml in interface IVecI
public IVec nml(IVecI pt1,
IVecI pt2)
nml in interface IVecI
public IVec nml(IVec pt1,
IVec pt2)
public static IVecI getNormal(IVecI pt1,
IVecI pt2,
IVecI pt3)
public static IVec getNormal(IVec pt1,
IVec pt2,
IVec pt3)
public IVecI getNormal(IVecI pt2,
IVecI pt3)
public IVec getNormal(IVec pt2,
IVec pt3)
public IVec projectToPlane(IVecI projectDir,
IVecI planeNormal)
public IVec projectToPlane(IVecI projectDir,
IVecI planeNormal,
IVecI planePoint)
public IVec projectToLine(IVecI linePt,
IVecI lineDir)
public double[] projectTo2Vec(IVecI v1,
IVecI v2)
public double projectToVec(IVecI v)
v - a vector for this vector to project on.
public IVec[] decompose(IVecI uaxis,
IVecI vaxis)
public double distanceToPlane(IVecI planeDir,
IVecI planePt)
public IVec perpendicularVectorToLine(IVecI lineDir,
IVecI linePt)
public IVec perpendicularVectorToVector(IVecI axisDir)
public boolean isOnPlane(IVecI planePt1,
IVecI planePt2,
IVecI planePt3)
public boolean isOnPlane(IVecI planeDir,
IVecI planePt)
public boolean isOnPlane(IVecI planePt1,
IVecI planePt2,
IVecI planePt3,
double resolution)
public boolean isOnPlane(IVecI planeDir,
IVecI planePt,
double resolution)
public IVectorObject show(IVecI root)
root - A root position of the arrow.public IVectorObject show()
public IVectorObject show(IServerI s,
IVecI root)
s - A server to store the object.root - A root position of the arrow.public IVectorObject show(IServerI s)
s - A server to store the object.
public static boolean isFlat(IVecI pt1,
IVecI pt2,
IVecI pt3,
IVecI pt4)
public static boolean isFlat(IVecI pt1,
IVecI pt2,
IVecI pt3,
IVecI pt4,
double resolution)
public static boolean isArrayEqual(IVec[] pts1,
IVec[] pts2,
boolean cyclic,
boolean reverse)
public static boolean isArrayEqual(IVec[] pts1,
IVec[] pts2,
boolean cyclic,
boolean reverse,
double resolution)
public static IVec averageNormal(IVecI[] pts)
public static IVec averageNormal(IVecI[][] pts)
public static IVec[] offset(IVec[] pts,
double width,
IVecI planeNormal)
public static IVec[] offset(IVec[] pts,
double width,
IVecI planeNormal,
boolean close)
public static IVecI[] offset(IVecI[] pts,
double width,
IVecI planeNormal,
boolean close)
public static IVecI[] offset(IVecI[] pts,
double width,
IVecI planeNormal)
public static IVecI[] offset(IVecI[] pts,
IDoubleI width,
IVecI planeNormal,
boolean close)
public static IVecI[] offset(IVecI[] pts,
IDoubleI width,
IVecI planeNormal)
public static IVecI[] offset(IVecI[] pts,
IVecI[] normal,
double width)
public static IVecI[] offset(IVecI[] pts,
IVecI[] normal,
IDoubleI width)
public static IVec[] offset(IVec[] pts,
double width)
public static IVec[] offset(IVec[] pts,
double width,
boolean close)
public static IVecI[] offset(IVecI[] pts,
double width,
boolean close)
public static IVecI[] offset(IVecI[] pts,
double width)
public static IVecI[] offset(IVecI[] pts,
IDoubleI width,
boolean close)
public static IVecI[] offset(IVecI[] pts,
IDoubleI width)
public static IVecI projectToPlane(IVecI pt,
IVecI projectDir,
IVecI planeNormal,
IVecI planePt)
public static void projectToPlane(IVecI[] pts,
IVecI projectDir,
IVecI planeNormal,
IVecI planePt)
public static void projectToPlane(IVecI[][] pts,
IVecI projectDir,
IVecI planeNormal,
IVecI planePt)
public static void projectToPlane(IVecI[] pts,
IVecI planeNormal,
IVecI planePt)
public static void projectToPlane(IVecI[][] pts,
IVecI planeNormal,
IVecI planePt)
public static void projectToPlane(IVecI[] pts,
IVecI planeNormal)
public static void projectToPlane(IVecI[][] pts,
IVecI planeNormal)
public static void projectToPlane(IVecI[] pts)
public static void projectToPlane(IVecI[][] pts)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||