Package javax.vecmath
Class Vector2f
java.lang.Object
javax.vecmath.Tuple2f
javax.vecmath.Vector2f
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class Vector2f extends Tuple2f implements java.io.Serializable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class javax.vecmath.Tuple2f
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, clone, epsilonEquals, equals, equals, get, getX, getY, hashCode, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, set, setX, setY, sub, sub, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Vector2f
public Vector2f(float float1, float float2) -
Vector2f
public Vector2f(float[] floatArray) -
Vector2f
-
Vector2f
-
Vector2f
-
Vector2f
-
Vector2f
public Vector2f()
-
-
Method Details
-
dot
-
length
public final float length() -
lengthSquared
public final float lengthSquared() -
normalize
-
normalize
public final void normalize() -
angle
-