Exemple #1
0
 public static DoublePoint Subtract(DoublePoint point1, DoublePoint point2)
 {
     return(new DoublePoint(point1.X - point2.X, point1.Y - point2.Y));
 }
Exemple #2
0
 public static DoublePoint Add(DoublePoint point1, DoublePoint point2)
 {
     return(new DoublePoint(point1.X + point2.X, point1.Y + point2.Y));
 }