com.mebigfatguy.patchanim.surface
Class PatchCoords

java.lang.Object
  extended by 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

Constructor Summary
PatchCoords(int patchOrder)
           
PatchCoords(int patchOrder, Coordinate[][] coordinates)
           
 
Method Summary
static PatchCoords buildFullColorPatch(int patchOrder)
           
static PatchCoords buildRandomPatch(int patchOrder)
           
 java.lang.Object clone()
           
 Coordinate getCoordinate(int i, int j)
           
 int getOrder()
           
 void resetSpatialCoordinates()
           
 void setCoordinate(int i, int j, Coordinate coordinate)
           
 java.lang.String toString()
           
static PatchCoords tween(PatchCoords startCoords, PatchCoords endCoords, TweenStyle tweenStyle, double frac)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PatchCoords

public PatchCoords(int patchOrder)

PatchCoords

public PatchCoords(int patchOrder,
                   Coordinate[][] coordinates)
Method Detail

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.