Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4c42e70595
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 22 lines (21 sloc) 0.635 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifndef lint
static const char SCCSID[]="@(#)PJ_denoy.c 4.1 94/02/15 GIE REL";
#endif
#define PJ_LIB__
#include "projects.h"
PROJ_HEAD(denoy, "Denoyer Semi-Elliptical") "\n\tPCyl., no inv., Sph.";
#define C0 0.95
#define C1 -.08333333333333333333
#define C3 .00166666666666666666
#define D1 0.9
#define D5 0.03
FORWARD(s_forward); /* spheroid */
xy.y = lp.phi;
xy.x = lp.lam;
lp.lam = fabs(lp.lam);
xy.x *= cos((C0 + lp.lam * (C1 + lp.lam * lp.lam * C3)) *
(lp.phi * (D1 + D5 * lp.phi * lp.phi * lp.phi * lp.phi)));
return (xy);
}
FREEUP; if (P) pj_dalloc(P); }
ENTRY0(denoy) P->es = 0.; P->fwd = s_forward; ENDENTRY(P)
Something went wrong with that request. Please try again.