Something
public java v1 · immutablepublic class Cercle { int xC; int yC; int r; public Cercle(int x, int y, int r) { this.xC=x; this.yC=y; this.r=r; } public boolean contains(int x, int y) { return (Math.pow((x-this.xC),2)+Math.pow(y-this.yC,2)-Math.pow(this.r,2)<=0); }}