Class GridPoint

java.lang.Object
ghidra.graph.viewer.layout.GridPoint

public class GridPoint extends Object
Row and column information for points in a GridLocationMap. Using these instead of java Points, makes the code that translates from grid space to layout space much less confusing.
  • Field Details

    • row

      public int row
    • col

      public int col
  • Constructor Details

    • GridPoint

      public GridPoint(int row, int col)
    • GridPoint

      public GridPoint(GridPoint point)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • transpose

      public void transpose()
    • toString

      public String toString()
      Overrides:
      toString in class Object