public CartesianVector add(CartesianVector v) {
   return new CartesianVector(v.getX() + x, v.getY() + y);
 }
Beispiel #2
0
 public CartesianVector sum() {
   return v1.add(v2);
 }