Package javax.vecmath
Class Vector2d
java.lang.Object
javax.vecmath.Tuple2d
javax.vecmath.Vector2d
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class Vector2d extends Tuple2d implements java.io.Serializable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class javax.vecmath.Tuple2d
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
-
Vector2d
public Vector2d(double double1, double double2) -
Vector2d
public Vector2d(double[] doubleArray) -
Vector2d
-
Vector2d
-
Vector2d
-
Vector2d
-
Vector2d
public Vector2d()
-
-
Method Details
-
dot
-
length
public final double length() -
lengthSquared
public final double lengthSquared() -
normalize
-
normalize
public final void normalize() -
angle
-