@@ -0,0 +1,970 @@
+/**%0A * Created by hajarboulhdir on 02/10/2016.%0A */%0Apublic class Point3D extends Point2D %7B%0A    private double x;%0A    private double y;%0A    private double z;%0A%0A    public Point3D() %7B%0A        this(0.0,0.0,0.0);%0A    %7D%0A%0A    public Point3D(double x, double y, double x1, double y1, double z) %7B%0A        super(x, y);%0A        this.x = x1;%0A        this.y = y1;%0A        this.z = z;%0A    %7D%0A    public void translate(double dx,double dy,double dz)%7B%0A        x +=dx;%0A        y +=dy;%0A        z+=dz;%0A    %7D%0A    public boolean isOrigin()%7B%0A        return (x==0 && y==0 && z==0);%0A    %7D%0A    public double distance(final Point3D other)%7B%0A        double dx = other.x -this.x;%0A        double dy = other.y -this.y;%0A        double dz = other.z -this.z;%0A        return Math.sqrt(dx * dx + dy * dy + dz * dz);%0A    %7D%0A%0A    @Override%0A    public double getX() %7B%0A        return x;%0A    %7D%0A%0A    @Override%0A    public double getY() %7B%0A        return y;%0A    %7D%0A%0A    public double getZ() %7B%0A        return z;%0A    %7D%0A%7D%0A

Add Point3D class.