Set the default radius for map elements.

@param radius is the default radius for map elements.
166578
public static void setPreferredRadius(double radius) {
		assert !Double.isNaN(radius);
		final Preferences prefs = Preferences.userNodeForPackage(MapElementConstants.class);
		if (prefs != null) {
			prefs.putDouble("RADIUS", radius); //$NON-NLS-1$
			try {
				prefs.flush();
			} catch (BackingStoreException exception) {
				//
			}
		}
	}
1037117
@Override
	public void setSecondAxis(double x, double y, double z, double extent) {
		setSecondAxis(x, y, z, extent, CoordinateSystem3D.getDefaultCoordinateSystem());
	}
837652
public void setRoundRect (IRoundRectangle rr) {
        setRoundRect(rr.x(), rr.y(), rr.width(), rr.height(),
                     rr.arcWidth(), rr.arcHeight());
    }
622882
public void setRotation(float r) {
		double d = 2.0 * Math.PI;
		rotationRadians = (float) ((r + initialRotation) % d);
		if (rotationRadians < 0) {
			rotationRadians += d;
		}
		float[] matrix = matrix();
		scaledWidth = matrix[DX] - matrix[CX];
		scaledHeight = matrix[DY] - matrix[CY];
	}
841091
public void setDefaultDirection(Direction defaultDirection) {
        // Apply default sort direction to those unspecified.
        if (defaultDirection != Direction.UNSPECIFIED) {
            Map<StorableIndex<S>, StorableIndex<S>> replacements = null;
            for (StorableIndex<S> index : this) {
                StorableIndex<S> replacement = index.setDefaultDirection(defaultDirection);
                if (replacement != index) {
                    if (replacements == null) {
                        replacements = new HashMap<StorableIndex<S>, StorableIndex<S>>();
                    }
                    replacements.put(index, replacement);
                }
            }
            replaceEntries(replacements);
        }
    }
476774
public void setGeonames(String geonames) {
    if(geonames != null) {
      geonames = geonames.trim();
    }
    this.geonames = geonames;
  }
89767
def change_default_radii(def_map):
    
    s = current_system()
    rep = current_representation()
    rep.radii_state.default = [def_map[t] for t in s.type_array]
    rep.radii_state.reset()
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();
	}
596953
private void checkMapSize(LinkedHashMap<?, ?> map) {

        while (map.size() > CmsADEManager.DEFAULT_ELEMENT_LIST_SIZE) {
            map.remove(map.keySet().iterator().next());
        }
    }
686022
protected void setDefaultInfoWindowLocation() {
		int s = mOutline.getPoints().size();
		if (s == 0){
			mInfoWindowLocation = new GeoPoint(0.0, 0.0);
			return;
		}
		//TODO: as soon as the polygon bounding box will be a class member, don't compute it again here.
		mInfoWindowLocation = mOutline.getCenter(null);
	}
716290
public void setStyle(StyleRow styleRow, GeometryType geometryType) {
		if (geometryType != null) {
			if (styleRow != null) {
				styles.put(geometryType, styleRow);
			} else {
				styles.remove(geometryType);
			}
		} else {
			defaultStyle = styleRow;
		}
	}
1348378
public void setShadowRadius(float radius) {
        if (radius < 0) {
            throw new IllegalArgumentException("Shadow radius cannot be less than zero.");
        }

        if (radius != mShadowRadius) {
            setShadowInternal(radius, mShadowColor, true);
        }
    }
1297523
function(node, geometry, radius) {
        var resolution = this.getResolution();
        var x = ((geometry.x - this.featureDx) / resolution + this.left);
        var y = (this.top - geometry.y / resolution);

        if (this.inValidRange(x, y)) { 
            node.setAttributeNS(null, "cx", x);
            node.setAttributeNS(null, "cy", y);
            node.setAttributeNS(null, "r", radius);
            return node;
        } else {
            return false;
        }    
            
    }
653737
public void setT(int t) {
        this.t = Math.min((radius * 2 + 1) * (radius * 2 + 1) / 2, Math.max(0, t));
    }
168246
private void initializeShapeConfig(TypedArray attributes) {
    defaultShapeKey =
        attributes.getInteger(R.styleable.nox_shape, ShapeFactory.FIXED_CIRCULAR_SHAPE_KEY);
  }
1038846
public void setCircleTranslate( Float[] value) {
    PropertyValue propertyValue = circleTranslate(value);
    constantPropertyUsageMap.put(PROPERTY_CIRCLE_TRANSLATE, propertyValue);
    layer.setProperties(propertyValue);
  }
525148
private static void setParams(Map<String, ?> map) {
        for (String name : map.keySet()) {
            setParam(name, map.get(name));
        }
    }