docs: public void setR(double r)
      {
          if(Double.isNaN(r) || Double.isInfinite(r) || r <= 0)
              throw new IllegalArgumentException("r must be a postive constant, not " + r);
          this.r = r;
      }