/*
 * Square.java
 *
 * (c) DIT-UC3M 2008
 *
 */

public class Square extends Figure {

  /** Square vertexes */
  private Point vertex1;
  private Point vertex2;
  private Point vertex3;
  private Point vertex4;

  /** Constructor with name and vertexes */
  public Square(String name, Point diagonalVertex1, Point diagonalVertex3) {
  }

  /** Private method to calculate the vertexes for the other diagonal */
  private void otherDiagonal(Point vertex1, Point vertex3) {
  }

  /** Method implementation to calculate the area */
  public double area() {
    return 0;
  }

  /**
   * Implementation of the abstract method to calculate if the figure is
   * regular.
   */
  public boolean isRegular() {
    return false;
  }

  /** Returns a representative string of the square. */
  public String toString() {
    return null;
  }
}
