All Packages Class Hierarchy This Package Previous Next Index
Class berkeley.cs.dmc.rapid2d.Vec2D
java.lang.Object
|
+----berkeley.cs.dmc.rapid2d.Vec2D
- public final class Vec2D
- extends Object
-
x
-
-
y
-
-
Vec2D()
-
-
Vec2D(float, float)
-
-
Vec2D(Vec2D)
-
-
add(Vec2D, Vec2D)
-
-
comp(int)
-
-
mul(Mat2D, Vec2D)
-
-
mul(Vec2D, Vec2D)
-
-
mulT(Mat2D, Vec2D)
-
-
scale(Vec2D, float)
-
-
set(float, float)
-
-
sub(Vec2D, Vec2D)
-
-
toString()
-
-
zero()
-
x
public float x
y
public float y
Vec2D
public Vec2D()
Vec2D
public Vec2D(Vec2D v)
Vec2D
public Vec2D(float a,
float b)
set
public final void set(float x,
float y)
zero
public final void zero()
comp
public final float comp(int i)
add
public final void add(Vec2D a,
Vec2D b)
sub
public final void sub(Vec2D a,
Vec2D b)
mul
public final void mul(Vec2D a,
Vec2D b)
scale
public final void scale(Vec2D a,
float s)
mul
public final void mul(Mat2D m,
Vec2D v)
mulT
public final void mulT(Mat2D m,
Vec2D v)
toString
public final String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index