Esempio n. 1
0
 public Segment(Vector begin, Vector end)
 {
     this.begin = begin;
     this.end = end;
 }
Esempio n. 2
0
 public Vector(Vector a, Vector b)
 {
     this.x = b.x - a.x;
     this.y = b.y - a.y;
 }