package commons.graph.model;
import basics.utl.NumUtl;
public class Point
{

public double x, y;

public Point(double x, double y)
{
   this.x = x;
   this.y = y;
}

public void add (double x, double y)
{
   this.x += x;
   this.y += y;
}

public int intx()
{
   return (int)x;
}

public int inty()
{
   return (int)y;
}

public String toString ()
{
   return NumUtl.round(x, 2) + "/" + NumUtl.round(y, 2);
}
}
