de.grogra.math
Class TVector2d
java.lang.Object
javax.vecmath.Tuple2d
javax.vecmath.Vector2d
de.grogra.math.TVector2d
- All Implemented Interfaces:
- Transform2D, Manageable, java.io.Serializable, java.lang.Cloneable
public class TVector2d
- extends Vector2d
- implements Transform2D
- See Also:
- Serialized Form
Fields inherited from class javax.vecmath.Tuple2d |
x, y |
Methods inherited from class javax.vecmath.Tuple2d |
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, epsilonEquals, equals, equals, get, hashCode, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, set, sub, sub, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
$TYPE
public static final ManageableType $TYPE
TVector2d
public TVector2d()
TVector2d
public TVector2d(double x,
double y)
TVector2d
public TVector2d(Tuple2d t)
clone
public java.lang.Object clone()
- Overrides:
clone
in class Vector2d
fieldModified
public void fieldModified(PersistenceField field,
int[] indices,
Transaction t)
- Specified by:
fieldModified
in interface Manageable
getManageableType
public ManageableType getManageableType()
- Specified by:
getManageableType
in interface Manageable
getStamp
public int getStamp()
- Description copied from interface:
Manageable
- Returns a stamp for this object. Each modification to this object
increments the stamp. The initial stamp is non-negative.
- Specified by:
getStamp
in interface Manageable
- Returns:
- a stamp
manageableReadResolve
public Manageable manageableReadResolve()
- Specified by:
manageableReadResolve
in interface Manageable
manageableWriteReplace
public java.lang.Object manageableWriteReplace()
- Specified by:
manageableWriteReplace
in interface Manageable
transform
public void transform(Matrix3d in,
Matrix3d out)
- Specified by:
transform
in interface Transform2D