Beispiel #1
0
 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);
 }
Beispiel #2
0
 public void ExpandSelf(element s)
 {
     Min.SubSelf(s);
     Max.AddSelf(s);
 }