89382d521e57f9bc6479bc0006a69d9c10eaf961
3 author
= "Jérôme Benoit",
12 * FIXME?: init to (0,0)
16 Point (double x
, double y
) {
21 public void setX(double x
) {
25 public double getX() {
29 public void setY(double y
) {
33 public double getY() {
37 public Point
additionner(Point p
) {
38 Point pNew
= new Point(p
.getX() + getX(), p
.getY() + getY());
42 public String
toString() {
43 return "(" + x
+ "," + y
+ ")";