Class ConfigECoCheckMarkers.MarkerShape

All Implemented Interfaces:
Configuration, Serializable
Enclosing class:

public static class ConfigECoCheckMarkers.MarkerShape
extends Object
implements Configuration
See Also:
Serialized Form
  • Field Details

    • numRows

      public int numRows
      Number of squares tall the grid is
    • numCols

      public int numCols
      Number of squares wide the grid is
    • squareSize

      public double squareSize
      Length of the square's side
  • Constructor Details

    • MarkerShape

      public MarkerShape​(int numRows, int numCols, double squareSize)
    • MarkerShape

      public MarkerShape()
  • Method Details

    • getNumCorners

      public int getNumCorners()
    • getWidth

      public double getWidth()
      Returns marker's width
    • getHeight

      public double getHeight()
      Returns marker's width
    • setTo

      public void setTo​(ConfigECoCheckMarkers.MarkerShape src)
    • checkValidity

      public void checkValidity()
      Description copied from interface: Configuration
      Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.
      Specified by:
      checkValidity in interface Configuration