java.lang.Object
de.grogra.imp3d.objects.ArrayPoint
- All Implemented Interfaces:
Cloud.Point,CloudContext,Manageable,Serializable,Cloneable
Minimal implementation of a point in a arraycloud. Its Manageable type enables proper
copies of CloudArray/List as the Point needs to be copied
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ArrayPoint.Typeprotected Cloudprotected float[]static final SCOType.Field -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfieldModified(PersistenceField field, int[] indices, Transaction t) getCloud()intgetStamp()Returns a stamp for this object.voidvoidsetPos(float[] f) float[]toFloat()
-
Field Details
-
pos
protected float[] pos -
parent
-
$TYPE
-
pos$FIELD
-
-
Constructor Details
-
ArrayPoint
public ArrayPoint() -
ArrayPoint
public ArrayPoint(float[] f)
-
-
Method Details
-
getCloud
- Specified by:
getCloudin interfaceCloud.Point- Specified by:
getCloudin interfaceCloudContext
-
toFloat
public float[] toFloat()- Specified by:
toFloatin interfaceCloud.Point
-
setCloud
- Specified by:
setCloudin interfaceCloud.Point
-
setPos
public void setPos(float[] f) -
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
-
getManageableType
- Specified by:
getManageableTypein interfaceManageable
-