public class PointCircle {

    private double ptx ;
    private double pty ;

    public PointCircle(double radius , double theta){
        this.ptx = radius * Math.cos(theta);
        this.pty = radius * Math.sin(theta);
    }

    public double getX(){
        return this.ptx ;
    }

    public double getY(){
        return this.pty ;
    }

    public void setX(double radius , double theta){
        this.ptx = radius * Math.cos(theta);
    }

    public void setY(double radius , double theta){
        this.pty = radius * Math.sin(theta);
    }
}
