function LogAzimuthal() {
AzimuthalRaw;
const acos = Math.acos, exp = Math.exp, log = Math.log, sin = Math.sin;
const b = B * Math.PI / 180;
const s = S**2;
const Rb = 1;
const factor = log(1 + s * b), s_1 = s ? 1 / s : 0;
var p = d3.geoAzimuthalRaw(function(r) {
var z = acos(r);
return z ? log(1 + s * z) / factor / sin(z) : 1;
});
p.invert = d3.geoAzimuthalInvert(function(a) {
if (s == 0) return a;
return (exp(a * factor / Rb) - 1) * s_1;
});
return d3.geoLogAzimuthal = p;
}