|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectigeo.IParameterObject
igeo.IVec2f
public class IVec2f
Class of 2 dimensional vector in float.
Field Summary | |
---|---|
float |
x
|
float |
y
|
Fields inherited from class igeo.IParameterObject |
---|
parent |
Constructor Summary | |
---|---|
IVec2f()
|
|
IVec2f(double x,
double y)
|
|
IVec2f(float x,
float y)
|
|
IVec2f(IDoubleI x,
IDoubleI y)
|
|
IVec2f(IServerI s)
|
|
IVec2f(IServerI s,
double x,
double y)
|
|
IVec2f(IServerI s,
float x,
float y)
|
|
IVec2f(IServerI s,
IDoubleI x,
IDoubleI y)
|
|
IVec2f(IServerI s,
IVec2 v)
|
|
IVec2f(IServerI s,
IVec2f v)
|
|
IVec2f(IServerI s,
IVec2I v)
|
|
IVec2f(IVec2 v)
|
|
IVec2f(IVec2f v)
|
|
IVec2f(IVec2I v)
|
Method Summary | |
---|---|
IVec2f |
add(double x,
double y)
|
IVec2f |
add(double f,
IVec2I v)
scale add; alias |
IVec2f |
add(float x,
float y)
|
IVec2f |
add(float f,
IVec2f v)
scale add; alias |
IVec2f |
add(IDoubleI x,
IDoubleI y)
|
IVec2f |
add(IDoubleI f,
IVec2I v)
scale add; alias |
IVec2f |
add(IVec2 v)
|
IVec2f |
add(IVec2f v)
|
IVec2f |
add(IVec2f v,
float f)
scale add |
IVec2f |
add(IVec2I v)
|
IVec2f |
add(IVec2I v,
double f)
scale add |
IVec2f |
add(IVec2I v,
IDoubleI f)
scale add |
double |
angle(double vx,
double vy)
angle between two vectors |
float |
angle(float vx,
float vy)
|
double |
angle(ISwitchE e,
IVec2I v)
angle between two vectors |
IDouble |
angle(ISwitchR r,
IVec2I v)
angle between two vectors |
double |
angle(IVec2 v)
|
float |
angle(IVec2f v)
|
double |
angle(IVec2I v)
angle between two vectors |
IVec2f |
bisect(double vx,
double vy)
create a new instance of bisector |
IVec2f |
bisect(IVec2 v)
|
IVec2f |
bisect(IVec2f v)
|
IVec2f |
bisect(IVec2I v)
create a new instance of bisector |
IVec2f |
cp()
cp() is alias of dup() |
IVec2f |
cp(double x,
double y)
cp() is alias of dup().add() |
IVec2f |
cp(float x,
float y)
cp() is alias of dup().add() |
IVec2f |
cp(IDoubleI x,
IDoubleI y)
cp() is alias of dup().add() |
IVec2f |
cp(IVec2f v)
cp() is alias of dup().add() |
IVec2f |
cp(IVec2I v)
cp() is alias of dup().add() |
IVec |
cross(double vx,
double vy)
cross product, returning 3D vector |
IVec |
cross(float vx,
float vy)
|
IVec |
cross(IVec2 v)
|
IVec |
cross(IVec2f v)
|
IVec |
cross(IVec2I v)
cross product, returning 3D vector |
IVec2f |
dif(double vx,
double vy)
create a new instance of difference |
IVec2f |
dif(float vx,
float vy)
|
IVec2f |
dif(IVec2f v)
|
IVec2f |
dif(IVec2I v)
create a new instance of difference |
IVec2f |
diff(double vx,
double vy)
alias of dif |
IVec2f |
diff(float vx,
float vy)
|
IVec2f |
diff(IVec2f v)
|
IVec2f |
diff(IVec2I v)
alias of dif |
double |
dist(double vx,
double vy)
distance |
double |
dist(float vx,
float vy)
|
double |
dist(ISwitchE e,
IVec2I v)
distance |
IDouble |
dist(ISwitchR r,
IVec2I v)
distance |
double |
dist(IVec2 v)
|
double |
dist(IVec2f v)
|
double |
dist(IVec2I v)
distance |
double |
dist2(double vx,
double vy)
squared distance |
float |
dist2(float vx,
float vy)
|
double |
dist2(ISwitchE e,
IVec2I v)
squared distance |
IDouble |
dist2(ISwitchR r,
IVec2I v)
squared distance |
double |
dist2(IVec2 v)
|
float |
dist2(IVec2f v)
|
double |
dist2(IVec2I v)
squared distance |
IVec2f |
div(double x)
|
IVec2f |
div(float x)
|
IVec2f |
div(IDoubleI v)
|
double |
dot(double vx,
double vy)
dot product |
float |
dot(float vx,
float vy)
|
double |
dot(ISwitchE e,
IVec2I v)
dot product |
IDouble |
dot(ISwitchR r,
IVec2I v)
dot product |
double |
dot(IVec2 v)
|
float |
dot(IVec2f v)
|
double |
dot(IVec2I v)
dot product |
IVec2f |
dup()
|
boolean |
eq(double vx,
double vy)
whether location is same or not |
boolean |
eq(double vx,
double vy,
double tolerance)
whether location is same or not with tolerance |
boolean |
eq(float vx,
float vy)
|
boolean |
eq(float vx,
float vy,
double tolerance)
|
boolean |
eq(ISwitchE e,
IVec2I v)
whether location is same or not |
boolean |
eq(ISwitchE e,
IVec2I v,
double tolerance)
whether location is same or not with tolerance |
IBool |
eq(ISwitchR r,
IVec2I v)
whether location is same or not |
IBool |
eq(ISwitchR r,
IVec2I v,
IDoubleI tolerance)
whether location is same or not with tolerance |
boolean |
eq(IVec2 v)
|
boolean |
eq(IVec2 v,
double tolerance)
|
boolean |
eq(IVec2f v)
|
boolean |
eq(IVec2f v,
double tolerance)
|
boolean |
eq(IVec2I v)
whether location is same or not |
boolean |
eq(IVec2I v,
double tolerance)
whether location is same or not with tolerance |
boolean |
eqX(double vx)
check if X is same |
boolean |
eqX(double vx,
double tolerance)
check if X is same within tolerance |
boolean |
eqX(float vx)
|
boolean |
eqX(float vx,
double tolerance)
|
boolean |
eqX(ISwitchE e,
IVec2I v)
check if X is same |
boolean |
eqX(ISwitchE e,
IVec2I v,
double tolerance)
check if X is same within tolerance |
IBool |
eqX(ISwitchR r,
IVec2I v)
check if X is same |
IBool |
eqX(ISwitchR r,
IVec2I v,
IDoubleI tolerance)
check if X is same within tolerance |
boolean |
eqX(IVec2 v)
|
boolean |
eqX(IVec2 v,
double tolerance)
|
boolean |
eqX(IVec2f v)
|
boolean |
eqX(IVec2f v,
double tolerance)
|
boolean |
eqX(IVec2I v)
check if X is same |
boolean |
eqX(IVec2I v,
double tolerance)
check if X is same within tolerance |
boolean |
eqY(double vy)
check if Y is same |
boolean |
eqY(double vy,
double tolerance)
check if Y is same within tolerance |
boolean |
eqY(float vy)
|
boolean |
eqY(float vy,
double tolerance)
|
boolean |
eqY(ISwitchE e,
IVec2I v)
check if Y is same |
boolean |
eqY(ISwitchE e,
IVec2I v,
double tolerance)
check if Y is same within tolerance |
IBool |
eqY(ISwitchR r,
IVec2I v)
check if Y is same |
IBool |
eqY(ISwitchR r,
IVec2I v,
IDoubleI tolerance)
check if Y is same within tolerance |
boolean |
eqY(IVec2 v)
|
boolean |
eqY(IVec2 v,
double tolerance)
|
boolean |
eqY(IVec2f v)
|
boolean |
eqY(IVec2f v,
double tolerance)
|
boolean |
eqY(IVec2I v)
check if Y is same |
boolean |
eqY(IVec2I v,
double tolerance)
check if Y is same within tolerance |
IVec2f |
flip()
alias of neg |
IVec2 |
get()
|
IDouble |
getX()
|
IDouble |
getY()
|
boolean |
isValid()
checking x, y is valid number (not Infinite, nor NaN). |
double |
len()
getting length |
IVec2f |
len(double l)
setting length |
IVec2f |
len(float l)
|
IVec2f |
len(IDoubleI l)
setting length |
double |
len(ISwitchE e)
getting length |
IDouble |
len(ISwitchR r)
getting length |
double |
len2()
getting squared length |
double |
len2(ISwitchE e)
getting squared length |
IDouble |
len2(ISwitchR r)
getting squared length |
IVec2f |
mid(double vx,
double vy)
create a new instance of midpoint |
IVec2f |
mid(float vx,
float vy)
|
IVec2f |
mid(IVec2f v)
|
IVec2f |
mid(IVec2I v)
create a new instance of midpoint |
IVec2f |
mirror(double lineX,
double lineY)
reflect (mirror) 2 dimensionally to the other side of the line |
IVec2f |
mirror(double linePtX,
double linePtY,
double lineDirX,
double lineDirY)
reflect (mirror) 2 dimensionally to the other side of the line at a center |
IVec2f |
mirror(float lineX,
float lineY)
|
IVec2f |
mirror(float linePtX,
float linePtY,
float lineDirX,
float lineDirY)
|
IVec2f |
mirror(IVec2 lineDir)
|
IVec2f |
mirror(IVec2f lineDir)
|
IVec2f |
mirror(IVec2f linePt,
IVec2f lineDir)
|
IVec2f |
mirror(IVec2I lineDir)
reflect (mirror) 2 dimensionally to the other side of the line |
IVec2f |
mirror(IVec2I linePt,
IVec2I lineDir)
reflect (mirror) 2 dimensionally to the other side of the line at a center |
IVec2f |
mirror(IVec2 linePt,
IVec2 lineDir)
|
IVec2f |
mul(double x)
|
IVec2f |
mul(float x)
|
IVec2f |
mul(IDoubleI v)
|
IVec2f |
mv(double x,
double y)
mv() is alias of add() |
IVec2f |
mv(float x,
float y)
mv() is alias of add() |
IVec2f |
mv(IDoubleI x,
IDoubleI y)
mv() is alias of add() |
IVec2f |
mv(IVec2f v)
mv() is alias of add() |
IVec2f |
mv(IVec2I v)
mv() is alias of add() |
IVec2f |
neg()
|
IVec |
nml(double vx,
double vy)
alias of cross |
IVec |
nml(double vx1,
double vy1,
double vx2,
double vy2)
create normal vector from 3 points of self, pt1 and pt2 |
IVec |
nml(float vx,
float vy)
alias of cross |
IVec |
nml(float vx1,
float vy1,
float vx2,
float vy2)
create normal vector from 3 points of self, pt1 and pt2 |
IVec |
nml(IVec2I v)
alias of cross |
IVec |
nml(IVec2I pt1,
IVec2I pt2)
create normal vector from 3 points of self, pt1 and pt2 |
IVec2f |
ortho()
rotate vector in Pi/2 |
IVec2f |
ref(double lineX,
double lineY)
reflect (mirror) 2 dimensionally to the other side of the line |
IVec2f |
ref(double linePtX,
double linePtY,
double lineDirX,
double lineDirY)
reflect (mirror) 2 dimensionally to the other side of the line at a center |
IVec2f |
ref(float lineX,
float lineY)
|
IVec2f |
ref(float linePtX,
float linePtY,
float lineDirX,
float lineDirY)
|
IVec2f |
ref(IVec2 lineDir)
|
IVec2f |
ref(IVec2f lineDir)
reflect (mirror) 2 dimensionally to the other side of the line |
IVec2f |
ref(IVec2f linePt,
IVec2f lineDir)
|
IVec2f |
ref(IVec2I lineDir)
reflect (mirror) 2 dimensionally to the other side of the line |
IVec2f |
ref(IVec2I linePt,
IVec2I lineDir)
reflect (mirror) 2 dimensionally to the other side of the line at a center |
IVec2f |
ref(IVec2 linePt,
IVec2 lineDir)
|
IVec2f |
rev()
alias of neg |
IVec2f |
rot(double angle)
rotation |
IVec2f |
rot(double centerX,
double centerY,
double angle)
rotation around a center |
IVec2f |
rot(float angle)
|
IVec2f |
rot(float centerX,
float centerY,
float angle)
|
IVec2f |
rot(IDoubleI angle)
rotation |
IVec2f |
rot(IVec2 destDir)
|
IVec2f |
rot(IVec2 center,
double angle)
|
IVec2f |
rot(IVec2f destDir)
|
IVec2f |
rot(IVec2f center,
double angle)
|
IVec2f |
rot(IVec2f center,
IVec2f destPt)
|
IVec2f |
rot(IVec2I destDir)
rotate towards destination direction |
IVec2f |
rot(IVec2I center,
double angle)
rotation around a center |
IVec2f |
rot(IVec2I center,
IDoubleI angle)
rotation around a center |
IVec2f |
rot(IVec2I center,
IVec2I destPt)
rotate around a center towards destination point |
IVec2f |
rot(IVec2 center,
IVec2 destPt)
|
IVec2f |
scale(double f)
alias of mul |
IVec2f |
scale(double centerX,
double centerY,
double f)
scale from a center |
IVec2f |
scale(float f)
|
IVec2f |
scale(float centerX,
float centerY,
float f)
|
IVec2f |
scale(IDoubleI f)
alias of mul |
IVec2f |
scale(IVec2 center,
double f)
|
IVec2f |
scale(IVec2f center,
double f)
|
IVec2f |
scale(IVec2I center,
double f)
scale from a center |
IVec2f |
scale(IVec2I center,
IDoubleI f)
scale from a center |
IVec2f |
scale1d(double axisX,
double axisY,
double f)
scale only in 1 direction |
IVec2f |
scale1d(double centerX,
double centerY,
double axisX,
double axisY,
double f)
scale only in 1 direction from a center |
IVec2f |
scale1d(float axisX,
float axisY,
float f)
scale only in 1 direction |
IVec2f |
scale1d(float centerX,
float centerY,
float axisX,
float axisY,
float f)
scale only in 1 direction from a center |
IVec2f |
scale1d(IVec2 axis,
double f)
scale only in 1 direction |
IVec2f |
scale1d(IVec2f axis,
float f)
scale only in 1 direction |
IVec2f |
scale1d(IVec2f center,
IVec2f axis,
double f)
scale only in 1 direction from a center |
IVec2f |
scale1d(IVec2I axis,
double f)
scale only in 1 direction |
IVec2f |
scale1d(IVec2I axis,
IDoubleI f)
scale only in 1 direction |
IVec2f |
scale1d(IVec2I center,
IVec2I axis,
double f)
scale only in 1 direction from a center |
IVec2f |
scale1d(IVec2I center,
IVec2I axis,
IDoubleI f)
scale only in 1 direction from a center |
IVec2f |
set(double x,
double y)
|
IVec2f |
set(float x,
float y)
|
IVec2f |
set(IDoubleI x,
IDoubleI y)
|
IVec2f |
set(IVec2 v)
|
IVec2f |
set(IVec2f v)
|
IVec2f |
set(IVec2I v)
|
IVec2f |
shear(double sxy,
double syx)
shear operation on XY |
IVec2f |
shear(float sxy,
float syx)
shear operation on XY |
IVec2f |
shear(IDoubleI sxy,
IDoubleI syx)
shear operation on XY |
IVec2f |
shear(IVec2f center,
float sxy,
float syx)
shear operation on XY |
IVec2f |
shear(IVec2I center,
double sxy,
double syx)
shear operation on XY |
IVec2f |
shear(IVec2I center,
IDoubleI sxy,
IDoubleI syx)
shear operation on XY |
IVec2f |
sub(double x,
double y)
|
IVec2f |
sub(float x,
float y)
|
IVec2f |
sub(IDoubleI x,
IDoubleI y)
|
IVec2f |
sub(IVec2 v)
|
IVec2f |
sub(IVec2f v)
|
IVec2f |
sub(IVec2I v)
|
IVec2f |
sum(double vx,
double vy)
create a new instance of summation |
IVec2f |
sum(float vx,
float vy)
|
IVec2f |
sum(IVec2 v2,
double w2)
|
IVec2f |
sum(IVec2 v2,
double w1,
double w2)
|
IVec2f |
sum(IVec2f v)
|
IVec2f |
sum(IVec2f v2,
double w2)
|
IVec2f |
sum(IVec2f v2,
double w1,
double w2)
weighted sum |
IVec2f |
sum(IVec2I... v)
create a new instance of summation |
IVec2f |
sum(IVec2I v)
create a new instance of summation |
IVec2f |
sum(IVec2I v2,
double w2)
create a new instance of weighted sum |
IVec2f |
sum(IVec2I v2,
double w1,
double w2)
create a new instance of weighted sum |
IVec2f |
sum(IVec2I v2,
IDoubleI w2)
create a new instance of weighted sum |
IVec2f |
sum(IVec2I v2,
IDoubleI w1,
IDoubleI w2)
create a new instance of weighted sum |
IVec |
to3d()
|
IVec |
to3d(double z)
|
IVec |
to3d(IDoubleI z)
|
IVec4 |
to4d()
|
IVec4 |
to4d(double z,
double w)
|
IVec4 |
to4d(IDoubleI z,
IDoubleI w)
|
IVec2f |
transform(IMatrix2I mat)
transform with 2x2 transform matrix |
IVec2f |
transform(IMatrix3I mat)
transform with 3x3 transform matrix |
IVec2f |
transform(IVec2f xvec,
IVec2f yvec)
|
IVec2f |
transform(IVec2f xvec,
IVec2f yvec,
IVec2f translate)
|
IVec2f |
transform(IVec2I xvec,
IVec2I yvec)
transform with transform vectors |
IVec2f |
transform(IVec2I xvec,
IVec2I yvec,
IVec2I translate)
transform with transform vectors |
IVec2f |
transform(IVec2 xvec,
IVec2 yvec)
|
IVec2f |
transform(IVec2 xvec,
IVec2 yvec,
IVec2 translate)
|
IVec2f |
translate(double x,
double y)
alias of add() |
IVec2f |
translate(float x,
float y)
alias of add() |
IVec2f |
translate(IDoubleI x,
IDoubleI y)
alias of add() |
IVec2f |
translate(IVec2f v)
alias of add() |
IVec2f |
translate(IVec2I v)
alias of add() |
IVec2f |
unit()
normalize (unitize) vector |
double |
x()
|
IVec2f |
x(double vx)
setting x component |
IVec2f |
x(float vx)
setting x component |
IVec2f |
x(IDoubleI vx)
setting x component |
double |
x(ISwitchE e)
getting x component |
IDouble |
x(ISwitchR r)
getting x component |
double |
y()
|
IVec2f |
y(double vy)
setting y component |
IVec2f |
y(float vy)
setting y component |
IVec2f |
y(IDoubleI vy)
setting y component |
double |
y(ISwitchE e)
getting y component |
IDouble |
y(ISwitchR r)
getting y component |
IVec2f |
zero()
setting all zero |
Methods inherited from class igeo.IParameterObject |
---|
createObject, parent, parent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float x
public float y
Constructor Detail |
---|
public IVec2f()
public IVec2f(float x, float y)
public IVec2f(double x, double y)
public IVec2f(IVec2f v)
public IVec2f(IVec2 v)
public IVec2f(IVec2I v)
public IVec2f(IDoubleI x, IDoubleI y)
public IVec2f(IServerI s)
public IVec2f(IServerI s, float x, float y)
public IVec2f(IServerI s, double x, double y)
public IVec2f(IServerI s, IVec2f v)
public IVec2f(IServerI s, IVec2 v)
public IVec2f(IServerI s, IVec2I v)
public IVec2f(IServerI s, IDoubleI x, IDoubleI y)
Method Detail |
---|
public double x()
x
in interface IVec2I
public double y()
y
in interface IVec2I
public IVec2f x(double vx)
x
in interface IVec2I
public IVec2f y(double vy)
y
in interface IVec2I
public IVec2f x(float vx)
public IVec2f y(float vy)
public IVec2f x(IDoubleI vx)
x
in interface IVec2I
public IVec2f y(IDoubleI vy)
y
in interface IVec2I
public double x(ISwitchE e)
x
in interface IVec2I
public double y(ISwitchE e)
y
in interface IVec2I
public IDouble x(ISwitchR r)
x
in interface IVec2I
public IDouble y(ISwitchR r)
y
in interface IVec2I
public IVec2 get()
get
in interface IParameter
get
in interface IVec2I
get
in interface IVec2Op
public IVec2f dup()
dup
in interface IVec2I
public IVec to3d()
to3d
in interface IVec2I
public IVec to3d(double z)
to3d
in interface IVec2I
public IVec to3d(IDoubleI z)
to3d
in interface IVec2I
public IVec4 to4d()
to4d
in interface IVec2I
public IVec4 to4d(double z, double w)
to4d
in interface IVec2I
public IVec4 to4d(IDoubleI z, IDoubleI w)
to4d
in interface IVec2I
public IDouble getX()
getX
in interface IVec2I
public IDouble getY()
getY
in interface IVec2I
public IVec2f set(float x, float y)
public IVec2f set(double x, double y)
set
in interface IVec2I
public IVec2f set(IVec2f v)
public IVec2f set(IVec2 v)
public IVec2f set(IVec2I v)
set
in interface IVec2I
public IVec2f set(IDoubleI x, IDoubleI y)
set
in interface IVec2I
public IVec2f add(float x, float y)
public IVec2f add(double x, double y)
add
in interface IVec2I
public IVec2f add(IDoubleI x, IDoubleI y)
add
in interface IVec2I
public IVec2f add(IVec2f v)
public IVec2f add(IVec2 v)
public IVec2f add(IVec2I v)
add
in interface IVec2I
public IVec2f sub(float x, float y)
public IVec2f sub(double x, double y)
sub
in interface IVec2I
public IVec2f sub(IDoubleI x, IDoubleI y)
sub
in interface IVec2I
public IVec2f sub(IVec2f v)
public IVec2f sub(IVec2 v)
public IVec2f sub(IVec2I v)
sub
in interface IVec2I
public IVec2f mul(float x)
public IVec2f mul(double x)
mul
in interface IVec2I
public IVec2f mul(IDoubleI v)
mul
in interface IVec2I
public IVec2f div(float x)
public IVec2f div(double x)
div
in interface IVec2I
public IVec2f div(IDoubleI v)
div
in interface IVec2I
public IVec2f neg()
neg
in interface IVec2I
public IVec2f rev()
IVec2I
rev
in interface IVec2I
public IVec2f flip()
IVec2I
flip
in interface IVec2I
public IVec2f zero()
IVec2I
zero
in interface IVec2I
public IVec2f add(IVec2f v, float f)
public IVec2f add(IVec2I v, double f)
IVec2I
add
in interface IVec2I
public IVec2f add(IVec2I v, IDoubleI f)
IVec2I
add
in interface IVec2I
public IVec2f add(float f, IVec2f v)
public IVec2f add(double f, IVec2I v)
IVec2I
add
in interface IVec2I
public IVec2f add(IDoubleI f, IVec2I v)
IVec2I
add
in interface IVec2I
public float dot(IVec2f v)
public double dot(IVec2 v)
public double dot(double vx, double vy)
IVec2I
dot
in interface IVec2I
public float dot(float vx, float vy)
public double dot(IVec2I v)
IVec2I
dot
in interface IVec2I
public double dot(ISwitchE e, IVec2I v)
IVec2I
dot
in interface IVec2I
public IDouble dot(ISwitchR r, IVec2I v)
IVec2I
dot
in interface IVec2I
public IVec cross(IVec2f v)
public IVec cross(IVec2 v)
public IVec cross(IVec2I v)
IVec2I
cross
in interface IVec2I
public IVec cross(double vx, double vy)
IVec2I
cross
in interface IVec2I
public IVec cross(float vx, float vy)
public double len()
IVec2I
len
in interface IVec2I
public double len(ISwitchE e)
IVec2I
len
in interface IVec2I
public IDouble len(ISwitchR r)
IVec2I
len
in interface IVec2I
public double len2()
IVec2I
len2
in interface IVec2I
public double len2(ISwitchE e)
IVec2I
len2
in interface IVec2I
public IDouble len2(ISwitchR r)
IVec2I
len2
in interface IVec2I
public IVec2f len(IDoubleI l)
IVec2I
len
in interface IVec2I
public IVec2f len(double l)
IVec2I
len
in interface IVec2I
public IVec2f len(float l)
public IVec2f unit()
unit
in interface IVec2I
public IVec2f ortho()
ortho
in interface IVec2I
public double dist(IVec2I v)
IVec2I
dist
in interface IVec2I
public double dist(IVec2 v)
public double dist(IVec2f v)
public double dist(double vx, double vy)
IVec2I
dist
in interface IVec2I
public double dist(float vx, float vy)
public double dist(ISwitchE e, IVec2I v)
IVec2I
dist
in interface IVec2I
public IDouble dist(ISwitchR r, IVec2I v)
IVec2I
dist
in interface IVec2I
public double dist2(IVec2I v)
IVec2I
dist2
in interface IVec2I
public double dist2(IVec2 v)
public float dist2(IVec2f v)
public double dist2(double vx, double vy)
IVec2I
dist2
in interface IVec2I
public float dist2(float vx, float vy)
public double dist2(ISwitchE e, IVec2I v)
IVec2I
dist2
in interface IVec2I
public IDouble dist2(ISwitchR r, IVec2I v)
IVec2I
dist2
in interface IVec2I
public boolean eq(IVec2I v)
IVec2I
eq
in interface IVec2I
public boolean eq(IVec2 v)
public boolean eq(IVec2f v)
public boolean eq(double vx, double vy)
IVec2I
eq
in interface IVec2I
public boolean eq(float vx, float vy)
public boolean eq(ISwitchE e, IVec2I v)
IVec2I
eq
in interface IVec2I
public IBool eq(ISwitchR r, IVec2I v)
IVec2I
eq
in interface IVec2I
public boolean eq(IVec2I v, double tolerance)
IVec2I
eq
in interface IVec2I
public boolean eq(IVec2 v, double tolerance)
public boolean eq(IVec2f v, double tolerance)
public boolean eq(double vx, double vy, double tolerance)
IVec2I
eq
in interface IVec2I
public boolean eq(float vx, float vy, double tolerance)
public boolean eq(ISwitchE e, IVec2I v, double tolerance)
IVec2I
eq
in interface IVec2I
public IBool eq(ISwitchR r, IVec2I v, IDoubleI tolerance)
IVec2I
eq
in interface IVec2I
public boolean eqX(IVec2f v)
public boolean eqY(IVec2f v)
public boolean eqX(IVec2 v)
public boolean eqY(IVec2 v)
public boolean eqX(double vx)
IVec2I
eqX
in interface IVec2I
public boolean eqY(double vy)
IVec2I
eqY
in interface IVec2I
public boolean eqX(float vx)
public boolean eqY(float vy)
public boolean eqX(IVec2I v)
IVec2I
eqX
in interface IVec2I
public boolean eqY(IVec2I v)
IVec2I
eqY
in interface IVec2I
public boolean eqX(ISwitchE e, IVec2I v)
IVec2I
eqX
in interface IVec2I
public boolean eqY(ISwitchE e, IVec2I v)
IVec2I
eqY
in interface IVec2I
public IBool eqX(ISwitchR r, IVec2I v)
IVec2I
eqX
in interface IVec2I
public IBool eqY(ISwitchR r, IVec2I v)
IVec2I
eqY
in interface IVec2I
public boolean eqX(IVec2f v, double tolerance)
public boolean eqY(IVec2f v, double tolerance)
public boolean eqX(IVec2 v, double tolerance)
public boolean eqY(IVec2 v, double tolerance)
public boolean eqX(double vx, double tolerance)
IVec2I
eqX
in interface IVec2I
public boolean eqY(double vy, double tolerance)
IVec2I
eqY
in interface IVec2I
public boolean eqX(float vx, double tolerance)
public boolean eqY(float vy, double tolerance)
public boolean eqX(IVec2I v, double tolerance)
IVec2I
eqX
in interface IVec2I
public boolean eqY(IVec2I v, double tolerance)
IVec2I
eqY
in interface IVec2I
public boolean eqX(ISwitchE e, IVec2I v, double tolerance)
IVec2I
eqX
in interface IVec2I
public boolean eqY(ISwitchE e, IVec2I v, double tolerance)
IVec2I
eqY
in interface IVec2I
public IBool eqX(ISwitchR r, IVec2I v, IDoubleI tolerance)
IVec2I
eqX
in interface IVec2I
public IBool eqY(ISwitchR r, IVec2I v, IDoubleI tolerance)
IVec2I
eqY
in interface IVec2I
public double angle(IVec2 v)
public float angle(IVec2f v)
public double angle(double vx, double vy)
IVec2I
angle
in interface IVec2I
public float angle(float vx, float vy)
public double angle(IVec2I v)
IVec2I
angle
in interface IVec2I
public double angle(ISwitchE e, IVec2I v)
IVec2I
angle
in interface IVec2I
public IDouble angle(ISwitchR r, IVec2I v)
IVec2I
angle
in interface IVec2I
public IVec2f rot(double angle)
IVec2I
rot
in interface IVec2I
public IVec2f rot(float angle)
public IVec2f rot(IDoubleI angle)
IVec2I
rot
in interface IVec2I
public IVec2f rot(IVec2f center, double angle)
public IVec2f rot(IVec2 center, double angle)
public IVec2f rot(double centerX, double centerY, double angle)
IVec2I
rot
in interface IVec2I
public IVec2f rot(float centerX, float centerY, float angle)
public IVec2f rot(IVec2I center, double angle)
IVec2I
rot
in interface IVec2I
public IVec2f rot(IVec2I center, IDoubleI angle)
IVec2I
rot
in interface IVec2I
public IVec2f rot(IVec2f destDir)
public IVec2f rot(IVec2 destDir)
public IVec2f rot(IVec2I destDir)
IVec2I
rot
in interface IVec2I
public IVec2f rot(IVec2f center, IVec2f destPt)
public IVec2f rot(IVec2 center, IVec2 destPt)
public IVec2f rot(IVec2I center, IVec2I destPt)
IVec2I
rot
in interface IVec2I
public IVec2f scale(double f)
IVec2I
scale
in interface IVec2I
public IVec2f scale(float f)
public IVec2f scale(IDoubleI f)
IVec2I
scale
in interface IVec2I
public IVec2f scale(IVec2f center, double f)
public IVec2f scale(IVec2 center, double f)
public IVec2f scale(IVec2I center, double f)
IVec2I
scale
in interface IVec2I
public IVec2f scale(IVec2I center, IDoubleI f)
IVec2I
scale
in interface IVec2I
public IVec2f scale(double centerX, double centerY, double f)
IVec2I
scale
in interface IVec2I
public IVec2f scale(float centerX, float centerY, float f)
public IVec2f scale1d(IVec2f axis, float f)
public IVec2f scale1d(IVec2 axis, double f)
public IVec2f scale1d(IVec2I axis, double f)
scale1d
in interface IVec2I
public IVec2f scale1d(IVec2I axis, IDoubleI f)
scale1d
in interface IVec2I
public IVec2f scale1d(float axisX, float axisY, float f)
public IVec2f scale1d(double axisX, double axisY, double f)
scale1d
in interface IVec2I
public IVec2f scale1d(IVec2f center, IVec2f axis, double f)
public IVec2f scale1d(IVec2I center, IVec2I axis, double f)
scale1d
in interface IVec2I
public IVec2f scale1d(IVec2I center, IVec2I axis, IDoubleI f)
scale1d
in interface IVec2I
public IVec2f scale1d(float centerX, float centerY, float axisX, float axisY, float f)
public IVec2f scale1d(double centerX, double centerY, double axisX, double axisY, double f)
scale1d
in interface IVec2I
public IVec2f ref(IVec2f lineDir)
lineDir
- direction of reflection linepublic IVec2f ref(IVec2 lineDir)
public IVec2f ref(double lineX, double lineY)
IVec2I
ref
in interface IVec2I
public IVec2f ref(float lineX, float lineY)
public IVec2f ref(IVec2I lineDir)
IVec2I
ref
in interface IVec2I
public IVec2f ref(IVec2f linePt, IVec2f lineDir)
public IVec2f ref(IVec2 linePt, IVec2 lineDir)
public IVec2f ref(double linePtX, double linePtY, double lineDirX, double lineDirY)
IVec2I
ref
in interface IVec2I
public IVec2f ref(float linePtX, float linePtY, float lineDirX, float lineDirY)
public IVec2f ref(IVec2I linePt, IVec2I lineDir)
IVec2I
ref
in interface IVec2I
public IVec2f mirror(IVec2f lineDir)
public IVec2f mirror(IVec2 lineDir)
public IVec2f mirror(IVec2I lineDir)
IVec2I
mirror
in interface IVec2I
public IVec2f mirror(double lineX, double lineY)
IVec2I
mirror
in interface IVec2I
public IVec2f mirror(float lineX, float lineY)
public IVec2f mirror(IVec2f linePt, IVec2f lineDir)
public IVec2f mirror(IVec2 linePt, IVec2 lineDir)
public IVec2f mirror(IVec2I linePt, IVec2I lineDir)
IVec2I
mirror
in interface IVec2I
public IVec2f mirror(double linePtX, double linePtY, double lineDirX, double lineDirY)
IVec2I
mirror
in interface IVec2I
public IVec2f mirror(float linePtX, float linePtY, float lineDirX, float lineDirY)
public IVec2f shear(float sxy, float syx)
public IVec2f shear(double sxy, double syx)
shear
in interface IVec2I
public IVec2f shear(IDoubleI sxy, IDoubleI syx)
shear
in interface IVec2I
public IVec2f shear(IVec2f center, float sxy, float syx)
public IVec2f shear(IVec2I center, double sxy, double syx)
shear
in interface IVec2I
public IVec2f shear(IVec2I center, IDoubleI sxy, IDoubleI syx)
shear
in interface IVec2I
public IVec2f translate(float x, float y)
public IVec2f translate(double x, double y)
translate
in interface IVec2I
public IVec2f translate(IDoubleI x, IDoubleI y)
translate
in interface IVec2I
public IVec2f translate(IVec2f v)
public IVec2f translate(IVec2I v)
translate
in interface IVec2I
public IVec2f transform(IMatrix2I mat)
IVec2I
transform
in interface IVec2I
public IVec2f transform(IMatrix3I mat)
IVec2I
transform
in interface IVec2I
public IVec2f transform(IVec2f xvec, IVec2f yvec)
public IVec2f transform(IVec2 xvec, IVec2 yvec)
public IVec2f transform(IVec2I xvec, IVec2I yvec)
IVec2I
transform
in interface IVec2I
public IVec2f transform(IVec2f xvec, IVec2f yvec, IVec2f translate)
public IVec2f transform(IVec2 xvec, IVec2 yvec, IVec2 translate)
public IVec2f transform(IVec2I xvec, IVec2I yvec, IVec2I translate)
IVec2I
transform
in interface IVec2I
public IVec2f mv(float x, float y)
public IVec2f mv(double x, double y)
mv
in interface IVec2I
public IVec2f mv(IDoubleI x, IDoubleI y)
mv
in interface IVec2I
public IVec2f mv(IVec2f v)
public IVec2f mv(IVec2I v)
mv
in interface IVec2I
public IVec2f cp()
cp
in interface IVec2I
public IVec2f cp(float x, float y)
public IVec2f cp(double x, double y)
cp
in interface IVec2I
public IVec2f cp(IDoubleI x, IDoubleI y)
cp
in interface IVec2I
public IVec2f cp(IVec2f v)
public IVec2f cp(IVec2I v)
cp
in interface IVec2I
public IVec2f dif(IVec2I v)
IVec2I
dif
in interface IVec2I
public IVec2f dif(IVec2f v)
public IVec2f dif(double vx, double vy)
IVec2I
dif
in interface IVec2I
public IVec2f dif(float vx, float vy)
public IVec2f diff(IVec2I v)
IVec2I
diff
in interface IVec2I
public IVec2f diff(IVec2f v)
public IVec2f diff(double vx, double vy)
IVec2I
diff
in interface IVec2I
public IVec2f diff(float vx, float vy)
public IVec2f mid(IVec2I v)
IVec2I
mid
in interface IVec2I
public IVec2f mid(IVec2f v)
public IVec2f mid(double vx, double vy)
IVec2I
mid
in interface IVec2I
public IVec2f mid(float vx, float vy)
public IVec2f sum(IVec2I v)
IVec2I
sum
in interface IVec2I
public IVec2f sum(IVec2f v)
public IVec2f sum(double vx, double vy)
IVec2I
sum
in interface IVec2I
public IVec2f sum(float vx, float vy)
public IVec2f sum(IVec2I... v)
IVec2I
sum
in interface IVec2I
public IVec2f bisect(IVec2f v)
public IVec2f bisect(IVec2 v)
public IVec2f bisect(IVec2I v)
IVec2I
bisect
in interface IVec2I
public IVec2f bisect(double vx, double vy)
IVec2I
bisect
in interface IVec2I
public IVec2f sum(IVec2f v2, double w1, double w2)
public IVec2f sum(IVec2 v2, double w1, double w2)
public IVec2f sum(IVec2I v2, double w1, double w2)
IVec2I
sum
in interface IVec2I
public IVec2f sum(IVec2I v2, IDoubleI w1, IDoubleI w2)
IVec2I
sum
in interface IVec2I
public IVec2f sum(IVec2f v2, double w2)
public IVec2f sum(IVec2 v2, double w2)
public IVec2f sum(IVec2I v2, double w2)
IVec2I
sum
in interface IVec2I
public IVec2f sum(IVec2I v2, IDoubleI w2)
IVec2I
sum
in interface IVec2I
public IVec nml(IVec2I v)
nml
in interface IVec2I
public IVec nml(double vx, double vy)
nml
in interface IVec2I
public IVec nml(float vx, float vy)
public IVec nml(IVec2I pt1, IVec2I pt2)
nml
in interface IVec2I
public IVec nml(double vx1, double vy1, double vx2, double vy2)
nml
in interface IVec2I
public IVec nml(float vx1, float vy1, float vx2, float vy2)
public boolean isValid()
isValid
in interface IVec2I
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |