import java.io.*; 
import java.util.*;

/**
 * Title:        WaterMixApplet
 * Description:  Mixing water with Fuzzy Logic
 * Copyright:    Copyright (c) 2001
 * @author S. Robl <stefan@qdev.de>, A. Heinze <mail@aheinze.de>
 * @version 1.0
 */

class fpoint
{
  public double x, y;
 
  public fpoint()
  {
    set(0, 0);
  }
 
  public fpoint(double x, double y)
  {
    set(x,y);
  }
  
  public void set(double x, double y)
  {
    this.x=x;
    this.y=y;
  }
  
  public void set(fpoint fp)
  {
    set(fp.x, fp.y);
  }
  
  public String toString()
  {
    return "("+x+", "+y+")";
  }
}
