function getAdjustedKeepouts({dR_T=0, dA_T=0, dR_P=0, dA_P=0, R1=0, R2=0, R1_nom=3, R2_nom=3}={}) {
let { theta, phi } = nominal;
theta = expandedRadially(theta, dR_T);
theta = expandedAngularly(theta, dA_T);
phi = expandedRadially(phi, dR_P);
phi = expandedAngularly(phi, dA_P);
const R1_error = R1 - R1_nom;
const R2_error = Math.max(R2 - R2_nom, 0);
phi = translated(phi, R1_error, 0);
phi = expanded_x(phi, R1_error, R2_error);
return { theta, phi };
}