Class Point

java.lang.Object
org.woehlke.simulation.dla.model.Point
All Implemented Interfaces:
java.io.Serializable, DiffusionLimitedAggregation

public class Point
extends java.lang.Object
implements DiffusionLimitedAggregation
Diffusion Limited Aggregation. (C) 2006 - 2013 Thomas Woehlke. https://thomas-woehlke.blogspot.com/2016/01/diffusion-limited-aggregation.html
Author:
Thomas Woehlke Date: 04.02.2006 Time: 23:47:05
See Also:
Serialized Form
  • Constructor Details

    • Point

      public Point​(Point p)
    • Point

      public Point​(int x, int y)
  • Method Details

    • getX

      public int getX()
    • setX

      public void setX​(int x)
    • getY

      public int getY()
    • setY

      public void setY​(int y)
    • killNagative

      public void killNagative()
    • add

      public void add​(Point p)
    • normalize

      public void normalize​(Point p)
    • getNeighbourhood

      public Point[] getNeighbourhood​(Point max)