All pastes #475552 Raw Edit

Something

public java v1 · immutable
·published 2007-05-07 14:57 UTC
rendered paste body
public 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);	}}