示例#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());
 }