@@ -0,0 +1,519 @@
+package inna.qa.dp;%0A%0A/**%0A * Created by inna on 24.02.16.%0A */%0Apublic class Point %7B%0A%0A  public double p1;%0A  public double p2;%0A  public double p3;%0A  public double p4;%0A  public double y1;%0A  public double y2;%0A%0A  public Point(double p1, double p2, double p3, double p4) %7B%0A    this.p1 = p1;%0A    this.p2 = p2;%0A    this.p3 = p3;%0A    this.p4 = p4;%0A  %7D%0A%0A%0A  public double distance(Point p1,Point p2, Point p3,Point p4)%7B%0A    return  (Math.sqrt(Math.pow(this.p3 - this.p1, 2) + Math.pow(this.p4 - this.p2, 2)));%0A   // return 0;%0A  %7D%0A%7D%0A

Add Point