public LDPolygon(LDRect r) { this.Add(r.topLeft()); this.Add(r.topRight()); this.Add(r.bottomRight()); this.Add(r.bottomLeft()); }
public bool contains(LDRect r) { return(this.contains(r.topLeft()) && this.contains(r.topRight()) && this.contains(r.bottomLeft()) && this.contains(r.bottomRight())); }
public bool contains(LDRect r) { return this.contains(r.topLeft()) && this.contains(r.topRight()) && this.contains(r.bottomLeft()) && this.contains(r.bottomRight()); }