Example #1
0
 public IEnumerable <Entity> QueryEntity(CircleF c)
 {
     foreach (var e in QueryEntity(c.Bound))
     {
         if (c.Containe(e.Position))
         {
             yield return(e);
         }
     }
 }
Example #2
0
 public IEnumerable <Coordinates> QueryCoordinates(CircleF c)
 {
     foreach (var coords in QueryCoordinates(c.Bound))
     {
         if (c.Containe(coords.ToVector2()))
         {
             yield return(coords);
         }
     }
 }