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()
void
fieldModified
(PersistenceField field, int[] indices, Transaction t) int
getStamp()
Returns a stamp for this object.void
Methods 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:
transform
in interfaceTransform2D
-
getManageableType
- Specified by:
getManageableType
in interfaceManageable
-
fieldModified
- Specified by:
fieldModified
in interfaceManageable
-
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 interfaceManageable
- Returns:
- a stamp
-
manageableReadResolve
- Specified by:
manageableReadResolve
in interfaceManageable
-
manageableWriteReplace
- Specified by:
manageableWriteReplace
in interfaceManageable
-