(double x)
| 73 | } |
| 74 | |
| 75 | public void setX(double x) { |
| 76 | Point3D coords = new Point3D(x, 0, 0); |
| 77 | if (coordinates != null) { |
| 78 | coords = new Point3D(x, this.coordinates.getY(), this.coordinates.getZ()); |
| 79 | } |
| 80 | setCoordinates(coords); |
| 81 | } |
| 82 | |
| 83 | public void setY(double y) { |
| 84 | Point3D coords = new Point3D(0, y, 0); |