コード例 #1
0
ファイル: Point2D.cs プロジェクト: mookiejones/miEditor
 public static bool Equals(Point2D p1, Point2D p2)
 {
     return p1 == p2;
 }
コード例 #2
0
ファイル: Point2D.cs プロジェクト: mookiejones/miEditor
 public static Vector2D Subtract(Point2D p1, Point2D p2)
 {
     return new Vector2D(p2.X - p1.X, p2.Y - p1.Y);
 }
コード例 #3
0
ファイル: Point2D.cs プロジェクト: mookiejones/miEditor
 private bool Equals(Point2D other)
 {
     return Equals(Position, other.Position);
 }