Class LatticePoint
java.lang.Object
org.woehlke.computer.kurzweil.commons.model.LatticePoint
- All Implemented Interfaces:
Serializable
A Point is used to define the Position of Cell or as a Vector for defining Dimensions.
Simulated Evolution. Artificial Life Simulation of Bacteria Motion depending on DNA.
© 2006 - 2008 Thomas Woehlke. http://thomas-woehlke.de/p/simulated-evolution/
- Author:
- Thomas Woehlke Date: 04.02.2006 Time: 23:47:05
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copy()
int
int
getWidth()
void
void
void
moveDown()
void
moveLeft()
void
void
moveUp()
void
void
plus
(LatticePoint p) static LatticePoint
start
(LatticePoint worldDimensions)
-
Constructor Details
-
LatticePoint
-
-
Method Details
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
absoluteValue
public void absoluteValue() -
killNegative
public void killNegative() -
plus
-
moveBy
-
normalize
-
moveUp
public void moveUp() -
moveRight
public void moveRight() -
moveDown
public void moveDown() -
moveLeft
public void moveLeft() -
copy
-
start
-