(y)
| 134443 | var _conicJs = require("./conic.js"); |
| 134444 | var _mercatorJs = require("./mercator.js"); |
| 134445 | function tany(y) { |
| 134446 | return (0, _mathJs.tan)(((0, _mathJs.halfPi) + y) / 2); |
| 134447 | } |
| 134448 | function conicConformalRaw(y0, y1) { |
| 134449 | var cy0 = (0, _mathJs.cos)(y0), n = y0 === y1 ? (0, _mathJs.sin)(y0) : (0, _mathJs.log)(cy0 / (0, _mathJs.cos)(y1)) / (0, _mathJs.log)(tany(y1) / tany(y0)), f = cy0 * (0, _mathJs.pow)(tany(y0), n) / n; |
| 134450 | if (!n) return 0, _mercatorJs.mercatorRaw; |
no outgoing calls
no test coverage detected