You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
export default function(eccent, sinphi) {
|
|
var con;
|
|
if (eccent > 1.0e-7) {
|
|
con = eccent * sinphi;
|
|
return ((1 - eccent * eccent) * (sinphi / (1 - con * con) - (0.5 / eccent) * Math.log((1 - con) / (1 + con))));
|
|
}
|
|
else {
|
|
return (2 * sinphi);
|
|
}
|
|
} |