(φ)
| 3581 | }).raw = d3_geo_azimuthalEquidistant; |
| 3582 | function d3_geo_conicConformal(φ0, φ1) { |
| 3583 | var cosφ0 = Math.cos(φ0), t = function(φ) { |
| 3584 | return Math.tan(π / 4 + φ / 2); |
| 3585 | }, n = φ0 === φ1 ? Math.sin(φ0) : Math.log(cosφ0 / Math.cos(φ1)) / Math.log(t(φ1) / t(φ0)), F = cosφ0 * Math.pow(t(φ0), n) / n; |
| 3586 | if (!n) return d3_geo_mercator; |
| 3587 | function forward(λ, φ) { |
| 3588 | var ρ = Math.abs(Math.abs(φ) - π / 2) < ε ? 0 : F / Math.pow(t(φ), n); |
no outgoing calls
no test coverage detected