public bool Contains(vector v) { v.SubSelf(Center); v = (Ax * v.X) + (Ay * v.Y); return(Math.Abs(v.X) <= Extents.X && Math.Abs(v.Y) <= Extents.Y); }
public void ExpandSelf(element s) { Min.SubSelf(s); Max.AddSelf(s); }