/// <summary> /// Añade un nuevo punto al gráfico /// </summary> /// <param name="x">valor en x</param> /// <param name="y">valor en y</param> public void addPoint(SimulatedAnneling.Model.Point p) { chart1.Series[0].Points.AddXY(p.getX(), p.getY()); }
public override bool Equals(object obj) { Point other = (Point)obj; return((x == other.getX() && y == other.getY()) || (x == other.getY() && y == other.getX())); }