All Packages Class Hierarchy This Package Previous Next Index
Class berkeley.cs.dmc.rapid2d.FxVec
java.lang.Object
|
+----berkeley.cs.dmc.rapid2d.FxVec
- public final class FxVec
- extends Object
-
x
-
-
y
-
-
FxVec()
-
-
FxVec(FxVec)
-
-
FxVec(int, int)
-
-
FxVec(Vec2D)
-
-
add(FxVec)
-
-
add(FxVec, FxVec)
-
-
comp(int)
-
-
dot(FxVec)
-
-
dot(FxVec, FxVec)
-
-
equals(Object)
-
-
hashCode()
-
-
invScale(FxVec, int)
-
-
invScale(int)
-
-
length()
-
-
mul(FxMat, FxVec)
-
-
mul(FxVec)
-
-
mul(FxVec, FxVec)
-
-
mulT(FxMat, FxVec)
-
-
normalize()
-
-
normalize(FxVec)
-
-
scale(FxVec, int)
-
-
scale(int)
-
-
set(int, int)
-
-
sub(FxVec)
-
-
sub(FxVec, FxVec)
-
-
toString()
-
-
zero()
-
x
public int x
y
public int y
FxVec
public FxVec()
FxVec
public FxVec(Vec2D v)
FxVec
public FxVec(FxVec v)
FxVec
public FxVec(int a,
int b)
set
public FxVec set(int x,
int y)
add
public void add(FxVec a,
FxVec b)
add
public void add(FxVec v)
sub
public void sub(FxVec a,
FxVec b)
sub
public void sub(FxVec v)
mul
public void mul(FxVec a,
FxVec b)
mul
public void mul(FxVec v)
scale
public void scale(FxVec v,
int s)
scale
public void scale(int s)
invScale
public void invScale(FxVec v,
int s)
invScale
public void invScale(int s)
dot
public static int dot(FxVec a,
FxVec b)
dot
public int dot(FxVec v)
length
public int length()
normalize
public void normalize(FxVec v) throws ArithmeticException
normalize
public void normalize() throws ArithmeticException
toString
public String toString()
- Overrides:
- toString in class Object
hashCode
public int hashCode()
- Overrides:
- hashCode in class Object
equals
public boolean equals(Object anObject)
- Overrides:
- equals in class Object
zero
public final void zero()
comp
public final int comp(int i)
mul
public final void mul(FxMat m,
FxVec v)
mulT
public final void mulT(FxMat m,
FxVec v)
All Packages Class Hierarchy This Package Previous Next Index