public bool equals(MyPoint MyPoint) { return((x == MyPoint.x) && (y == MyPoint.y)); }
public void translate(MyPoint MyPoint) { translate(MyPoint.x, MyPoint.y); }
public MyPoint midMyPoint(MyPoint MyPoint) { return(new MyPoint((x + MyPoint.x) / 2, (y + MyPoint.y) / 2)); }
public MyPoint(MyPoint MyPoint) { x = MyPoint.x; y = MyPoint.y; }
public Circle(MyPoint first, MyPoint second) { Center = new MyPoint((first.getX() + second.getX()) / 2, (first.getY() + second.getY()) / 2); radius = Center.distance(first); }
public Circle(MyPoint Center) { this.Center = Center; this.radius = 0; }
public Circle(MyPoint Center, double radius) { this.Center = Center; this.radius = radius; }
public Circle() { this.Center = new MyPoint(0, 0); radius = 0; }