public List <T> PagesBlanches(Type typeAgent, Coordonnees centre, int rayon) { int rayonCarre = rayon * rayon; return(this._pagesBlanches .Where(a => (a.GetType() == typeAgent && centre.getDistanceCarree(a.Coord) <= rayonCarre)) .ToList <T>()); }
public List <T> GetAgents(Coordonnees centre, int rayon) { int rayonCarre = rayon * rayon; return(this._pagesBlanches .Where(a => (centre.getDistanceCarree(a.Coord) <= rayonCarre)) .ToList <T>()); }