Set circle radius in world coordinates.

@param radius circle radius in world units
325585
public void setRadius(float radius) {
		if (getOriginalLocation() != null) {
			Bbox oldBounds = (Bbox) getOriginalLocation();
			Bbox newBounds = (Bbox) oldBounds.clone();
			newBounds.setWidth(2 * radius);
			newBounds.setHeight(2 * radius);
			newBounds.setCenterPoint(oldBounds.getCenterPoint());
			setOriginalLocation(newBounds);
		} else {
			setOriginalLocation(new Bbox(0, 0, 2 * radius, 2 * radius));
		}
	}
42237
public void setRange(final double RANGE) {
        this.range = RANGE;
        checkForBlips();
        init(getInnerBounds().width, getInnerBounds().height);
        repaint();
    }
1178606
public void setShape(Shape shape) {
    validateShape(shape);

    this.shape = shape;
    this.shape.calculate();
    initializeScroller();
    resetScroll();
  }
1199834
public RoundingParams setCornersRadii(float[] radii) {
    Preconditions.checkNotNull(radii);
    Preconditions.checkArgument(radii.length == 8, "radii should have exactly 8 values");
    System.arraycopy(radii, 0, getOrCreateRoundedCornersRadii(), 0, 8);
    return this;
  }
1330372
public void set(Point3D a, Point3D b, double radius1) {
		set(a.getX(), a.getY(), a.getZ(),
				b.getX(),b.getY(), b.getZ(),
				radius1);
	}
922903
public Circle fit(Point initPoint, DenseMatrix64F points)
    {
        initCenter.data[0] = initPoint.getX();
        initCenter.data[1] = initPoint.getY();
        radius = Double.NaN;
        fit(points);
        return this;
    }
975824
public void setProperties(Point3d a, Point3d b, DoubleProperty radius1) {
		this.medial1.setProperties(a.xProperty, a.yProperty, a.zProperty);
		this.medial2.setProperties(b.xProperty, b.yProperty, b.zProperty);
		this.radiusProperty = radius1;
		ensureAIsLowerPoint();
	}
985994
public void setAngle(float angle) {
        this.angle = angle;
        float cos = (float) Math.cos(angle);
        float sin = (float) Math.sin(angle);
        m00 = cos;
        m01 = sin;
        m10 = -sin;
        m11 = cos;
    }
1130560
public void setBounds(int minOccurs, int maxOccurs) {
    if (minOccurs < 0 || maxOccurs < -1)
      throw new IllegalArgumentException("Bounds cannot be negative");
    else if (maxOccurs > 0 && minOccurs > maxOccurs)
      throw new IllegalArgumentException("Minimum bounds less than maximum bounds");
    limits = new int[] { minOccurs, maxOccurs };
  }
1019361
public void setGeometry(Geometry geometry) {
		this.geometry = geometry;
		empty = geometry == null;
		if (geometry != null) {
			extended = GeometryExtensions.isNonStandard(geometry
					.getGeometryType());
		}
	}
193352
public void setWorldClip(Rectangle clip) {
		if (clip == null) {
			clearWorldClip();
		} else {
			setWorldClip(clip.getX(), clip.getY(), clip.getWidth(), clip
					.getHeight());
		}
	}
1166728
@Pure
	public IntegerProperty radiusProperty() {
		if (this.radius == null) {
			this.radius = new SimpleIntegerProperty(this, MathFXAttributeNames.RADIUS) {
				@Override
				protected void invalidated() {
					if (get() < 0) {
						set(0);
					}
				}
			};
		}
		return this.radius;
	}
544453
private void updateWorldSize(final int screenWidth, final int screenHeight) {
        final float width = screenWidth * scaleX;
        final float height = screenHeight * scaleY;
        final float fitHeight = width / aspectRatio;
        if (fitHeight > height) {
            setWorldSize(height * aspectRatio, height);
        } else {
            setWorldSize(width, fitHeight);
        }
    }
1370443
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;
    }
427467
private Point calculatePointOnCircle(final float centerX, final float centerY,
                                         final float radius, final float degrees) {
        // for trigonometry, 0 is pointing east, so subtract 90
        // compass degrees are the wrong way round
        final double dblRadians = Math.toRadians(-degrees + 90);

        final int intX = (int) (radius * Math.cos(dblRadians));
        final int intY = (int) (radius * Math.sin(dblRadians));

        return new Point((int) centerX + intX, (int) centerY - intY);
    }
42950
public void setCirclePitchAlignment(@Property.CIRCLE_PITCH_ALIGNMENT String value) {
    PropertyValue propertyValue = circlePitchAlignment(value);
    constantPropertyUsageMap.put(PROPERTY_CIRCLE_PITCH_ALIGNMENT, propertyValue);
    layer.setProperties(propertyValue);
  }
17401
public Circle set (ICircle c) {
        return set(c.x(), c.y(), c.radius());
    }