com.mebigfatguy.patchanim.surface
Class PatchCoords
java.lang.Object
com.mebigfatguy.patchanim.surface.PatchCoords
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class PatchCoords
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PatchCoords
public PatchCoords(int patchOrder)
PatchCoords
public PatchCoords(int patchOrder,
Coordinate[][] coordinates)
buildRandomPatch
public static PatchCoords buildRandomPatch(int patchOrder)
buildFullColorPatch
public static PatchCoords buildFullColorPatch(int patchOrder)
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
getOrder
public int getOrder()
tween
public static PatchCoords tween(PatchCoords startCoords,
PatchCoords endCoords,
TweenStyle tweenStyle,
double frac)
getCoordinate
public Coordinate getCoordinate(int i,
int j)
setCoordinate
public void setCoordinate(int i,
int j,
Coordinate coordinate)
resetSpatialCoordinates
public void resetSpatialCoordinates()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2008 MeBigFatGuy.com. All Rights Reserved.