Esempio n. 1
0
 public LDPolygon(LDRect r)
 {
     this.Add(r.topLeft());
     this.Add(r.topRight());
     this.Add(r.bottomRight());
     this.Add(r.bottomLeft());
 }
Esempio n. 2
0
 public bool contains(LDRect r)
 {
     return(this.contains(r.topLeft()) && this.contains(r.topRight()) && this.contains(r.bottomLeft()) && this.contains(r.bottomRight()));
 }
Esempio n. 3
0
 public bool contains(LDRect r)
 {
     return this.contains(r.topLeft()) && this.contains(r.topRight()) && this.contains(r.bottomLeft()) && this.contains(r.bottomRight());
 }