public bool AddFrom(Point point) { if (InTos(point)) { return(false); } Froms.Add(point); return(true); }
private void GenerateFroms(Pattern from) { Froms.Add(Rotate(from)); for (int z = 0; z < 3; z++) { Froms.Add(Rotate(Froms.Last())); } from = FlipY(from); Froms.Add(Rotate(from)); for (int z = 0; z < 3; z++) { Froms.Add(Rotate(Froms.Last())); } from = FlipX(from); Froms.Add(Rotate(from)); for (int z = 0; z < 3; z++) { Froms.Add(Rotate(Froms.Last())); } from = FlipY(from); Froms.Add(Rotate(from)); for (int z = 0; z < 3; z++) { Froms.Add(Rotate(Froms.Last())); } from = FlipX(from); Froms.Add(Rotate(from)); for (int z = 0; z < 3; z++) { Froms.Add(Rotate(Froms.Last())); } }
public void AddFrom(string email) { Froms.Add(new MailboxAddress(email, email)); }