.doubleValue();
float radiusValue = (float) ((DoubleToken) radius.getToken())
.doubleValue();
if (_changesAllowedNow) {
Cone cone = new Cone(1.0f, 1.0f, primitiveFlags,
circleDivisionsValue, sideDivisionsValue, _appearance);
TransformGroup scaler = new TransformGroup();
scaler.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
_scaleTransform = new Transform3D();
_scaleTransform.setScale(new Vector3d(radiusValue, heightValue,
radiusValue));
scaler.setTransform(_scaleTransform);
scaler.addChild(cone);
_containedNode = scaler;
} else {
_containedNode = new Cone(radiusValue, heightValue, primitiveFlags,
circleDivisionsValue, sideDivisionsValue, _appearance);
_scaleTransform = null;
}
}