java.lang.Object
javax.vecmath.Tuple2d
javax.vecmath.Vector2d
de.grogra.math.TVector2d
- All Implemented Interfaces:
Transform2D,Manageable,Serializable,Cloneable
- Direct Known Subclasses:
ObjectData
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()voidfieldModified(PersistenceField field, int[] indices, Transaction t) intgetStamp()Returns a stamp for this object.voidMethods inherited from class javax.vecmath.Vector2d
angle, dot, length, lengthSquared, normalize, normalize
-
Field Details
-
$TYPE
-
-
Constructor Details
-
TVector2d
public TVector2d() -
TVector2d
-
TVector2d
public TVector2d(double x, double y)
-
-
Method Details
-
clone
-
transform
- Specified by:
transformin interfaceTransform2D
-
getManageableType
- Specified by:
getManageableTypein interfaceManageable
-
fieldModified
- Specified by:
fieldModifiedin interfaceManageable
-
getStamp
public int getStamp()Description copied from interface:ManageableReturns a stamp for this object. Each modification to this object increments the stamp. The initial stamp is non-negative.- Specified by:
getStampin interfaceManageable- Returns:
- a stamp
-
manageableReadResolve
- Specified by:
manageableReadResolvein interfaceManageable
-
manageableWriteReplace
- Specified by:
manageableWriteReplacein interfaceManageable
-