public void Permute(MonPoint P) { int Change; Change = x; x = P.X; P.X = Change; Change = y; y = P.Y; P.Y = Change; }
public static MonPoint Somme(MonPoint P1, MonPoint P2) { MonPoint P3 = new MonPoint(P1.X + P2.X, P1.Y + P2.Y); return(P3); }
public void Addition(MonPoint P) { Initialize(x + P.X, y + P.Y); }
public double Scalaire(MonPoint P) { return(x * P.X + y * P.Y); }