예제 #1
0
 public LDPolygon(LDRect r)
 {
     this.Add(r.topLeft());
     this.Add(r.topRight());
     this.Add(r.bottomRight());
     this.Add(r.bottomLeft());
 }
예제 #2
0
파일: LDRect.cs 프로젝트: johndpope/math
 public bool contains(LDRect r)
 {
     return(this.contains(r.topLeft()) && this.contains(r.topRight()) && this.contains(r.bottomLeft()) && this.contains(r.bottomRight()));
 }
예제 #3
0
파일: LDRect.cs 프로젝트: KajitaLD/math
 public bool contains(LDRect r)
 {
     return this.contains(r.topLeft()) && this.contains(r.topRight()) && this.contains(r.bottomLeft()) && this.contains(r.bottomRight());
 }