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