Example #1
0
 public Point getP1() {
   return p1.clone();
 }
Example #2
0
 public Point getP2() {
   return p2.clone();
 }
Example #3
0
 public Line(Point p1, Point p2) {
   this.p1 = p1.clone();
   this.p2 = p2.clone();
 }