parameters.ey = -parameters.ey;
parameters.ez = -parameters.ez;
}
final boolean isTranslation = Provider.PARAMETERS.equals(descriptor);
final FloatParameter[] param = new FloatParameter[isTranslation ? 3 : 7];
param[0] = new FloatParameter(Provider.DX, parameters.dx);
param[1] = new FloatParameter(Provider.DY, parameters.dy);
param[2] = new FloatParameter(Provider.DZ, parameters.dz);
if (!isTranslation) {
param[3] = new FloatParameter(ProviderSevenParam.EX, parameters.ex);
param[4] = new FloatParameter(ProviderSevenParam.EY, parameters.ey);
param[5] = new FloatParameter(ProviderSevenParam.EZ, parameters.ez);
param[6] = new FloatParameter(ProviderSevenParam.PPM, parameters.ppm);
}
return new ParameterGroup(getParameterDescriptors(), param);
}