Class LatticePoint

java.lang.Object
org.woehlke.computer.kurzweil.commons.model.LatticePoint

public class LatticePoint
extends java.lang.Object
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
  • Constructor Details

  • Method Details

    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • absoluteValue

      public void absoluteValue()
    • killNegative

      public void killNegative()
    • plus

      public void plus​(LatticePoint p)
    • moveBy

      public void moveBy​(LatticePoint p)
    • normalize

      public void normalize​(LatticePoint p)
    • moveUp

      public void moveUp()
    • moveRight

      public void moveRight()
    • moveDown

      public void moveDown()
    • moveLeft

      public void moveLeft()
    • copy

      public LatticePoint copy()
    • start

      public static LatticePoint start​(LatticePoint worldDimensions)