MCPcopy Create free account
hub / github.com/jipegit/OSXAuditor / t

Function t

d3-3.2.8/d3.js:3896–3898  ·  view source on GitHub ↗
(φ)

Source from the content-addressed store, hash-verified

3894 }).raw = d3_geo_azimuthalEquidistant;
3895 function d3_geo_conicConformal(φ0, φ1) {
3896 var cosφ0 = Math.cos(φ0), t = function(φ) {
3897 return Math.tan(π / 4 + φ / 2);
3898 }, 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;
3899 if (!n) return d3_geo_mercator;
3900 function forward(λ, φ) {
3901 var ρ = Math.abs(Math.abs(φ) - π / 2) < ε ? 0 : F / Math.pow(t(φ), n);

Callers 2

d3_geo_conicConformalFunction · 0.70
forwardFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected